Ubuntu – Unable to install mkusb

aptmkusb

I was trying to create a persistent storage on a Live Ubuntu USB drive. Then I came to many tutorials that required mkusb. I've searched for many ways to install it but I couldn't, even after adding PPAs, restarting, editing sources.list, etc.
This is the output:

$ sudo add-apt-repository ppa:mkusb/ppa

 More info: https://launchpad.net/~mkusb/+archive/ubuntu/ppa
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://ppa.launchpad.net/mkusb/ppa/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease        
Hit:3 http://vn.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://vn.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://vn.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done

$ sudo apt update                      
Hit:1 http://ppa.launchpad.net/mkusb/ppa/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:3 http://vn.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://vn.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://vn.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

$ sudo apt install mkusb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mkusb

I don't know if I made some mistakes somewhere. Thanks!

EDIT: I managed to install mkusb using tarball, but it doesn't detect my USB drive. But the main point is finished, maybe I will ask another question. Thank you!

Best Answer

  • The standard method to install mkusb is via the PPA

    If you run standard Ubuntu live, you need an extra instruction to get the repository Universe. (Kubuntu, Lubuntu ... Xubuntu have the repository Universe activated automatically.)

    sudo add-apt-repository universe  # only for standard Ubuntu
    
    sudo add-apt-repository ppa:mkusb/ppa  # and press Enter
    sudo apt-get update
    sudo apt-get install mkusb mkusb-nox usb-pack-efi
    

    Alternative method via tarball

    If for some reason it does not work with the PPA, you can install mkusb via a tarball according to the following link,

    help.ubuntu.com/community/mkusb/gui/tarball