Return to the main mkusb page

How to install mkusb in Debian


These methods are tested in Debian Wheezy, Jessie and Stretch. Debian Stretch works with mkusb-dus 12.2.3 and newer versions.

There are instructions to install the ppa 'manually'. There is also an alternative to download the file(s) and check the download manually.


mkusb was developed for Ubuntu and Ubuntu community flavours. It works with Debian too, but it is more difficult to install in Debian compared to installing in Ubuntu.

If command line instructions feel awkward, or you feel uncertain about installing non-standard tools, you should read these instructions carefully more than once before actually using them. They work for me, who developed mkusb and made the instructions, but they may cause conflicts with other non-standard tools that may be installed in your Debian system. If you want peace of mind, you should follow the instructions at Don't make a FrankenDebian.

If you have a Debian based system, which is not pure Debian, there may also be problems. It is a good idea to check at Linux distros where mkusb works, if mkusb is tested with your particular operating system.

mkusb-min if you want it simple

If you want it simple or do not want to install anything unknown, yet want to 'wrap a safety belt around dd', you can use mkusb-min. It is a small shellscript, that is easy to read and understand. It needs no installation, you can run the shellscript locally (in the current directory).

See the detailed description at ../min.

Add the PPA manually to the file '/etc/apt/sources.list'

In a terminal window or text screen, run your favourite editor for example

sudo -H gedit /etc/apt/sources.list

or a simple editor

sudo nano /etc/apt/sources.list

or in Debian 9 you may find the following file to edit

sudo nano /etc/apt/sources.list.d/base.list 

and add the line

deb xenial main  # stable version, tested and reliable

or add the line

deb xenial main  # unstable version, newest features

Save the file.

You could also add the PPA version for another version of Ubuntu instead of xenial. They are the same, because mkusb is only a script with some help files, and they are independent of the version and flavour of the gnu-linux operating system. mkusb works as long as it has bash (the bash shell interpreter) and the standard programs.

You should also import a gpg key, which is used to verify the packages, that you intend to install,

sudo apt-key adv --keyserver --recv 54B8C8AC

dirmngr maybe needs to be installed for the key to be managed. This is the case with debian testing alias 'buster' 2017-07-28.

sudo apt-get install dirmngr

Then make the system aware of the PPA and its content with this command line

sudo apt-get update

and install mkusb, mkusb-nox and/or usb-pack-efi, so run this command line

sudo apt-get install mkusb         # GUI version

and/or the following command lines

sudo apt-get install mkusb-nox     # text-mode version
sudo apt-get install usb-pack-efi  # only to install persistent live drives

sudo apt-get install dus           # general version provided with dialog menus for text mode
sudo apt-get install guidus        # dus with a GUI interface and zenity menus

Now mkusb should be available from the menu (as well as from the command line).

Menu -- System Tools -- mkusb

If you do not import the key, there are warnings (or maybe even a failure),

W: GPG error: trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3729827454B8C8AC


WARNING: The following packages cannot be authenticated!
Install these packages without verification [y/N]?

Get mkusb from

You can also get mkusb and mkusb-nox from where you can check the md5sum with the signed md5sum.txt.asc file. You get a 'bleeding edge' version via this web site.

Use mkusb-installer

Download mkusb-installer and use it to install mkusb. See this link


Download the mkusb-nox shell-script file manually

In this case you have to do the installation manually, or simply use mkusb-nox locally, use it in the same directory, where it is.

sudo ./mkusb-nox file.iso

Install dus alias mkusb version 12 from a tarball

You find a tarball and instructions how to use it to install dus alias mkusb version 12 via the following link, ../gui/tarball

Clonezilla and Knoppix are built on Debian

Clonezilla and Knoppix are special cases of Debian. They boot in a slightly different way, but after some tweaks, mkusb-dus version 12.2.0 and newer versions can be installed and used in live drives of these distros (also version 12.1.9 works with Clonezilla).


mkusb is available via a compressed image file of a persistent live drive with Clonezilla, but does not create such a systems without special tweaks.


It is rather easy to create a live drive or persistent live drive with Knoppix, and to install mkusb into it. (But mkusb cannot do it by itself.) Use the tool flash-knoppix, that comes with the Knoppix iso file.

Please notice that you should start 'flash-knoppix' from the desktop icon in Knoppix 8.1.

It is also easy to use the method of this wiki page to install mkusb version 12.2.0 and newer versions into Knoppix.

Create a live drive from the Knoppix iso file

Burn a DVD or clone a USB drive from the Knoppix iso file.

  • Use the 'burn an iso file' method. Several DVD burning tools will offer this method. (Do not create a data-DVD.)
  • Treat the iso file with isohybrid to make a hybrid iso file. After that is can be cloned to a live-only USB boot drive with a cloning tool for example 'Disks' alias 'gnome-disks' or 'mkusb' in linux and 'Win32 Disk Imager' in Windows.

  • There are several tools, that can create live-only Knoppix boot drives. Some of them are extracting tools, for example 'Rufus'.

Run Knoppix live and create a persistent live drive with Knoppix

In a Knoppix live session, you can create a persistent live drive with Knoppix according to this link. Use the tool flash-knoppix, that comes with the Knoppix iso file. It works with Knoppix 7.7 and newer versions.

Run Knoppix live-only or persistent live and install mkusb

You can use the general method of this wiki page to install mkusb version 12.2.0 and newer versions into Knoppix.

A quick-fix alternative is to use the following shellscript, that we may call 'install-mkusb-in-knoppix', or to run the relevant command lines manually (copied and pasted from the following list).

echo "$0 can
either create persistent live knoppix
or install mkusb-usb into knoppix."

read -p "Run in a live session of knoppix to create persistent live knoppix? (y/N) " ans
if [ "$ans" == "y" ]
 read -p "Run in a knoppix session to install mkusb-dus? (y/N) " ans
 if [ "$ans" == "y" ]
  echo "# Run in a knoppix session either *live* for a temporary installation
# of mkusb running from a DVD or a cloned instance from a USB pendrive
# or *persistent live* for a persistent installation of mkusb running from
# a session made with 'flash-knoppix.'
# Waiting for 2 seconds ..."
  sleep 2
  # the following line is one long line, but may appear in the wiki page as two lines
  sudo bash -c "echo 'deb xenial main' >> /etc/apt/sources.list"  # this is the end of one long line
  sudo cp /etc/apt/sources.list /etc/apt/sources.list.tmp
  sudo bash -c 'uniq /etc/apt/sources.list.tmp > /etc/apt/sources.list'
  sudo rm /etc/apt/sources.list.tmp
  sudo apt-key adv --keyserver --recv 54B8C8AC
  sudo apt-get update
  sudo apt-get install mkusb dus mkusb-nox usb-pack-efi




Return to the main mkusb page

mkusb/install-to-debian (last edited 2018-04-23 10:15:29 by ister-kokos)