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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. more: command not found
  2. pgrep Command Examples in Linux
  3. CentOS / RedHat : Beginners guide to log file administration
  4. dvc: Data Version Control (like git for data)
  5. Introduction to sed (Stream Editor) : Useful sed Command Examples
  6. exec Command Examples in Linux
  7. mkfs.btrfs Command Examples in Linux
  8. halt Command Examples in Linux
  9. “git ignore” Command Examples
  10. dolt clone: Clone a repository into a new directory

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright