Tagged: install downloaded DEB package
- This topic has 3 replies, 4 voices, and was last updated Apr 16-2:09 pm by sybok.
-
AuthorPosts
-
April 16, 2023 at 9:04 am #104781Member
roland
I have to create electronic signatures for family members, and have reached the point in the Spanish government dialogue where their software modules or packages have to be installed to one of a menu selection of operating systems, my selection being Linux Debian 64-bit. I have never needed to install individual modeles from outside in this way so am in the dark.
I have the gov tar file in /home/Downloads and have extracted the files it contains, also into /home /Downloads, 2 of the 5 files are text.
In a root terminal I run apt update plus the .deb file, then try the list of extracted modules, which the apt process fails to find but they are all where I am working, /home/Downloads.
What am I doing wrong, please?
roland@antix1:~/Desktop
$ su
Password:
root@antix1:/home/roland/Desktop# cd /home/roland/Downloads
root@antix1:/home/roland/Downloads# ls
configuradorfnmt_1.0.1-0_amd64.deb control control.tar.gz md5sums postinst postrm prerm
root@antix1:/home/roland/Downloads# apt install configuradorfnmt_1.0.1-0_amd64.deb
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package configuradorfnmt_1.0.1-0_amd64.deb
E: Couldn’t find any package by glob ‘configuradorfnmt_1.0.1-0_amd64.deb’
E: Couldn’t find any package by regex ‘configuradorfnmt_1.0.1-0_amd64.deb’
root@antix1:/home/roland/Downloads# apt install postinst
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package postinst
root@antix1:/home/roland/Downloads#Attachments:
April 16, 2023 at 9:12 am #104783MemberRobin
::If you 100% trust the downloaded .deb file (by all means check them first against checksums to be provided by the issuer!), you can simply install the .deb package. Open a console window (e.g. Roxterm) and enter:
sudo apt-get update sudo apt-get upgrade sudo apt-get install /home/roland/Downloads/configuradorfnmt_1.0.1-0_amd64.debCheck for errors in the console output text.
Deb files are program packages not meant to be extracted (unless you want to analyse them). They need to be installed.
———————–
P.S.:root@antix1:/home/roland/Downloads# apt install configuradorfnmt_1.0.1-0_amd64.deb
Just noticed, you did it mostly right already, but apt expects a path to understand the package is meant to be a locally provided one instead of one to be searched within the repositories. So it would have worked by simply adding a relative path (or the absolute path like in my lines above):
root@antix1:/home/roland/Downloads# apt install ./configuradorfnmt_1.0.1-0_amd64.debMake sure you have updated the apt database always before installing packages (apt-get update) as shown above.
P.P.S:
Checksum comparison to make sure the installer package wasn’t damaged (or manipulated) on transport can be done by shasum or md5sum tool on console.Windows is like a submarine. Open a window and serious problems will start.
April 16, 2023 at 12:34 pm #104795Moderator
caprea
::You can also type in terminal
sudo apt installuse the blank key once
and then drag and drop with your mouse the deb file from zzzfm (picture above) or from roxfiler to the terminal.
This will automatically use the correct path.April 16, 2023 at 2:09 pm #104811Member
sybok
::Why not simply use the below two commands:
sudo dpkg -i <package file (should include path to it if in a different directory)> sudo apt install --fix-brokenThe latter only if the former fails due to missing dependencies.
Of course, after having verified the integrity using check sums as already suggested.
-
AuthorPosts
- You must be logged in to reply to this topic.
