0

Just installed Lubuntu on my laptop. Win8 was the only previous OS on it.

After that I tried install slimjet following this:

https://linuxways.net/ubuntu/how-to-install-slimjet-browser-on-ubuntu-20-04/

But I couldn't since some "not a directory" error happened after CD and dpkg commands didn't work.

This is from my terminal(strangely enough it can recognize 'ls' command and bring the folders, but it won't do the same for typed or even copied paths! )

none0@none0-X102BA:~$ cd ~/Downloads/slimjet_amd64.deb
bash: cd: /home/none0/Downloads/slimjet_amd64.deb: Not a directory
none0@none0-X102BA:~$ ~/Downloads$ ls
bash: /home/none0/Downloads$: No such file or directory
none0@none0-X102BA:~$ cd /home/none0/Downloads/slimjet_amd64.deb
bash: cd: /home/none0/Downloads/slimjet_amd64.deb: Not a directory
none0@none0-X102BA:~$
none0@none0-X102BA:~$ ls
Desktop Downloads Music Public Videos
Documents mozilla.pdf Pictures Templates
none0@none0-X102BA:~$ Downloads
Downloads: command not found
none0@none0-X102BA:~$ cd /home/none0/Downloads/slimjet_amd64.deb
bash: cd: /home/none0/Downloads/slimjet_amd64.deb: Not a directory
none0@none0-X102BA:~$ cd /home/none0/Downloads/slimjet_amd64.deb
bash: cd: /home/none0/Downloads/slimjet_amd64.deb: Not a directory
none0@none0-X102BA:~$ sudo dpkg -i slimjet_amd64.deb
[sudo] password for none0:
dpkg: error processing archive slimjet_amd64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
slimjet_amd64.deb
none0@none0-X102BA:~$ rr
The program 'rr' is currently not installed. You can install it by typing:
sudo apt install rr
mook765
  • 15,925
Mrvl
  • 1
  • Are you new to linux ? You don't know how to run cd command – Error404 Nov 20 '21 at 16:12
  • 3
    You may want to first cd ~/Downloads, and then run dpkg ... – matigo Nov 20 '21 at 16:13
  • You need to run cd $HOME && cd Downloads/ && sudo dpkg -i name-of-deb-file.deb – Error404 Nov 20 '21 at 16:14
  • 3
    @Algnis Bear in mind we don't know what other file may by in the OPs ~/Downloads directory – Charles Green Nov 20 '21 at 16:16
  • 2
    I would fault the question here, except that the directions in the link provided are just abysmally wrong. – user10489 Nov 20 '21 at 16:18
  • 1
    @CharlesGreen (1) It is a fresh install (2) I don't know what is the name of the .deb file (3) som software works with multiple .deb files (4) OP don't even know that he/she could not cd into a .deb file , anyways I edited it – Error404 Nov 20 '21 at 16:18
  • 2
    Also You should never blindly run random commands from web, some commands can break your system, some are only for explanations, Don't Run a command unless or until you know what it does – Error404 Nov 20 '21 at 16:26
  • @user10489 but, but, the author has a degree in telecommunication engineering! – Organic Marble Nov 21 '21 at 02:08
  • I don't care how many degrees the author has, the blog instructions are embarrassingly wrong. Everyone makes mistakes, but that error is so bad I can't think of any excuse for it. – user10489 Nov 21 '21 at 06:21

2 Answers2

5

The instructions on that page is wrong!

The correct commands is:

cd ~/Downloads

cd stands for change directory. Downloads is the directory.

Once you complete the above command, you enter the next one:

sudo dpkg -i slimjet_amd64.deb

You will be asked to enter your password. When you type the password nothing will show on the terminal. This is normal.

Uninstall

If you don't like the software and want to uninstall it, use the following command:

sudo apt remove slimjet

Another way to uninstall it is to open the Ubuntu Software Store and search of the slimjet. It should be listed as an installed software, and clicking on the Remove button will remove it.

In either case you will need to enter your password.

See How can I uninstall software? for more on uninstalling software in Ubuntu.

Hope this helps

user68186
  • 33,360
  • Followed your tip and it kinda worked out! Really thanks! Just tell me how do I uninstall it, please. – Mrvl Nov 20 '21 at 17:02
  • *.deb files can be handled with dpkg as above, they end up in the "installed software" database of apt which is the command line tool for install / uninstall -ing SW. sudo apt purge packagename will remove all files related to that package. – Hannu Nov 20 '21 at 18:28
  • @Mrvl Please accept the answer as correct by clicking on the gray check mark ✔️ and turn it green ✅. This will help others. To uninstall the app, use sudo apt remove slimjet or open the Ubuntu App Store app and search for it and click remove. – user68186 Nov 20 '21 at 18:29
0

You can't cd (change directory) to the .deb file as it's not a directory.
Try executing sudo dpkg -i ~/Downloads/slimjet_amd64.deb in order to install slimjet_amd64.deb located inside Downloads directory.