• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

ark: command not found

by admin

In the KDE desktop environment, Ark is a graphical user interface (GUI) tool for creating, viewing, and extracting archive files. It is similar to other archive utilities such as 7-Zip, WinZip, and WinRAR.

To use Ark, you can either launch it from the KDE application launcher or run the “ark” command in a terminal. For example, to open Ark from the terminal, you can use the following command:

# ark

Once Ark is open, you can use it to create, view, and extract archive files. For example, to create a new archive, you can select the “File” menu and then choose the “New” option. This will open a dialog where you can select the files you want to include in the archive and specify the name and location of the new archive file.

To extract the contents of an existing archive, you can open the archive file in Ark and then select the “Extract” button. This will open a dialog where you can specify the destination folder for the extracted files.

If you encounter the below error while running the ark command:

ark: command not found

you may try installing the below package as per your choice of distribution:

OS Distribution Command
OS X brew install ark
Debian apt-get install ark
Ubuntu apt-get install ark
Arch Linux pacman -S ark
Kali Linux apt-get install ark
CentOS yum install ark
Fedora dnf install ark
Raspbian apt-get install ark

ark Command Examples

1. Extract a specific archive into the current directory:

# ark --batch {{path/to/archive}}

2. Extract an archive into a specific directory:

# ark --batch --destination {{path/to/directory}} {{path/to/archive}}

3. Create an archive if it does not exist and add specific files to it:

# ark --add-to {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}

Filed Under: Linux

Some more articles you might also be interested in …

  1. ncview: command not found
  2. Using cut on Linux Terminal
  3. calcurse Command Examples in Linux
  4. How to configure Linux Resource Groups (cgroups) for MySQL
  5. Linux OS Service ‘yum-updatesd’
  6. debootstrap: command not found
  7. createrepo Command Examples in Linux
  8. avifenc Command in Linux with Examples
  9. Linux OS service ‘dhcpd’
  10. 6 Useful journalctl Command Examples in CentOS / RHEL 7 (Cheat Sheet)

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright