How do you install apps that you downloaded?

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
Noidly1
Posts: 69
Joined: 2014-11-24 07:09
Has thanked: 20 times

How do you install apps that you downloaded?

#1 Post by Noidly1 »

How do you install apps that you downloaded?

I downloaded LibreOffice that is a deb into a folder in my second hard drive.
Here the link; https://www.libreoffice.org/download/do ... lang=en-US

I tried to use the install command in Konsole but that didn't work.
Here is the input and output from it.

Code: Select all

noid@Laptop:~$ sudo install /D:\Data/Setups/LibreOffice/LibreOffice_24.8.4.2_Linux_x86-64_deb/
[sudo] password for noid: 
install: missing destination file operand after '/D:Data/Setups/LibreOffice/LibreOffice_24.8.4.2_Linux_x86-64_deb/'
Try 'install --help' for more information.
I also tried this

Code: Select all

noid@Laptop:~$ sudo apt install /D:Data/Setups/LibreOffice/LibreOffice_24.8.4.2_Linux_x86-64_deb/
[sudo] password for noid: 
Reading package lists... Done
E: Unsupported file /D:Data/Setups/LibreOffice/LibreOffice_24.8.4.2_Linux_x86-64_deb/ given on commandline
noid@Laptop:~$
I looked at the help file but didn't see anything useful other than it said that if you want to "install" an app, you have to use an installer like Apper, Discover or Synaptic. The problem is that you can't tell them to install from a file. Bummer...

Any help would be greatly appreciated.
Thanks.

:linked:
Last edited by Noidly1 on 2024-12-20 22:40, edited 1 time in total.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2159
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 171 times
Been thanked: 244 times

Re: How do you install apps that you downloaded?

#2 Post by Hallvor »

Move the file to your home directory.

Then

sudo dpkg - i LibreOffice_24.8.4.2_Linux_x86-64_deb
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 386
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: How do you install apps that you downloaded?

#3 Post by bbbhltz »

Hi,

The command you are launching needs to point to a file. Under KDE using Dolphin, the file manager, you can navigate to the folder where the deb is and open a terminal there (I think F4 is the shortcut). From there, run the dpkg command mentioned above.

Of you like using a GUI, there is an option: gdebi. It will install a bunch of dependencies with it.

You can install from the cli using apt, but it needs the full path. Is /D:Data/ the mount point of this other drive?
bbbhltz
longtime desktop Linux user; eternal newbie

User avatar
sunrat
Site admin
Site admin
Posts: 7477
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 135 times
Been thanked: 670 times

Re: How do you install apps that you downloaded?

#4 Post by sunrat »

LlibreOffice 24.8.3-1 is in the backports repo. It's always preferable and easier to install from official repos.
Just enable backports in your sources - https://wiki.debian.org/Backports - update sources then install with your preferred package manager.
In terminal it would be:

Code: Select all

apt install -t bookworm-backports libreoffice
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Noidly1
Posts: 69
Joined: 2014-11-24 07:09
Has thanked: 20 times

Re: How do you install apps that you downloaded?

#5 Post by Noidly1 »

Ok, I inserted the backports into the repository. That is accepted and done.

Next, I did this and now have a new problem.

Code: Select all

noid@Laptop:~$ sudo apt install libreoffice/bookworm-backports
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '4:24.8.3-1~bpo12+1' (Debian Backports:stable-backports [amd64]) for 'libreoffice'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice : Depends: libreoffice-core (= 4:24.8.3-1~bpo12+1) but 4:7.4.7-1+deb12u5 is to be installed
               Recommends: fonts-crosextra-caladea but it is not going to be installed
               Recommends: fonts-crosextra-carlito but it is not going to be installed
               Recommends: fonts-linuxlibertine but it is not going to be installed
               Recommends: fonts-sil-gentium-basic but it is not going to be installed
               Recommends: libreoffice-nlpsolver but it is not going to be installed
               Recommends: libreoffice-report-builder but it is not going to be installed
               Recommends: libreoffice-script-provider-bsh but it is not going to be installed
               Recommends: libreoffice-script-provider-js but it is not going to be installed
               Recommends: libreoffice-script-provider-python but it is not going to be installed
               Recommends: libreoffice-sdbc-mysql but it is not going to be installed
               Recommends: libreoffice-sdbc-postgresql but it is not going to be installed
               Recommends: libreoffice-wiki-publisher but it is not going to be installed
               Recommends: libreoffice-java-common (>= 4:24.8.3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
noid@Laptop:~$ 
How do I get the "4:7.4.7-1+deb12u5" part so I can get the "libreoffice-core (= 4:24.8.3-1~bpo12+1)" part?

Just so you know, I did the apt update and its all good, Hmm...

Code: Select all

noid@Laptop:~$ sudo apt update
[sudo] password for noid: 
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease                                                       
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                               
Hit:4 https://packages.microsoft.com/debian/12/prod bookworm InRelease                                      
Hit:5 http://deb.debian.org/debian bookworm-backports InRelease                             
Hit:6 https://dl.winehq.org/wine-builds/debian bookworm InRelease     
Reading package lists... Done                   
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
noid@Laptop:~$ 

Noidly1
Posts: 69
Joined: 2014-11-24 07:09
Has thanked: 20 times

Re: How do you install apps that you downloaded?

#6 Post by Noidly1 »

Hallvor wrote: 2024-12-20 22:39 Move the file to your home directory.

Then

sudo dpkg - i LibreOffice_24.8.4.2_Linux_x86-64_deb
That didn't work. Thanks.

Noidly1
Posts: 69
Joined: 2014-11-24 07:09
Has thanked: 20 times

Re: How do you install apps that you downloaded?

#7 Post by Noidly1 »

bbbhltz wrote: 2024-12-21 00:00 Hi,

The command you are launching needs to point to a file. Under KDE using Dolphin, the file manager, you can navigate to the folder where the deb is and open a terminal there (I think F4 is the shortcut). From there, run the dpkg command mentioned above.

Of you like using a GUI, there is an option: gdebi. It will install a bunch of dependencies with it.

You can install from the cli using apt, but it needs the full path. Is /D:Data/ the mount point of this other drive?
I will look into this. Thanks.
BTW, yes, the /D:\Data/ is the other partition (drive) however is actually (I think) loaded as /media/noid///.

User avatar
sunrat
Site admin
Site admin
Posts: 7477
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 135 times
Been thanked: 670 times

Re: How do you install apps that you downloaded?

#8 Post by sunrat »

Noidly1 wrote: 2024-12-21 03:50 Ok, I inserted the backports into the repository. That is accepted and done.

Next, I did this and now have a new problem.

Code: Select all

noid@Laptop:~$ sudo apt install libreoffice/bookworm-backports
Did you try the command I posted above?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
stevepusser
Posts: 13135
Joined: 2009-10-06 05:53
Has thanked: 56 times
Been thanked: 103 times

Re: How do you install apps that you downloaded?

#9 Post by stevepusser »

Noidly1 wrote: 2024-12-21 03:50 Ok, I inserted the backports into the repository. That is accepted and done.

Next, I did this and now have a new problem.

Code: Select all

noid@Laptop:~$ sudo apt install libreoffice/bookworm-backports
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '4:24.8.3-1~bpo12+1' (Debian Backports:stable-backports [amd64]) for 'libreoffice'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice : Depends: libreoffice-core (= 4:24.8.3-1~bpo12+1) but 4:7.4.7-1+deb12u5 is to be installed
               Recommends: fonts-crosextra-caladea but it is not going to be installed
               Recommends: fonts-crosextra-carlito but it is not going to be installed
               Recommends: fonts-linuxlibertine but it is not going to be installed
               Recommends: fonts-sil-gentium-basic but it is not going to be installed
               Recommends: libreoffice-nlpsolver but it is not going to be installed
               Recommends: libreoffice-report-builder but it is not going to be installed
               Recommends: libreoffice-script-provider-bsh but it is not going to be installed
               Recommends: libreoffice-script-provider-js but it is not going to be installed
               Recommends: libreoffice-script-provider-python but it is not going to be installed
               Recommends: libreoffice-sdbc-mysql but it is not going to be installed
               Recommends: libreoffice-sdbc-postgresql but it is not going to be installed
               Recommends: libreoffice-wiki-publisher but it is not going to be installed
               Recommends: libreoffice-java-common (>= 4:24.8.3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
noid@Laptop:~$ 
How do I get the "4:7.4.7-1+deb12u5" part so I can get the "libreoffice-core (= 4:24.8.3-1~bpo12+1)" part?

Just so you know, I did the apt update and its all good, Hmm...

Code: Select all

noid@Laptop:~$ sudo apt update
[sudo] password for noid: 
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease                                                       
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                               
Hit:4 https://packages.microsoft.com/debian/12/prod bookworm InRelease                                      
Hit:5 http://deb.debian.org/debian bookworm-backports InRelease                             
Hit:6 https://dl.winehq.org/wine-builds/debian bookworm InRelease     
Reading package lists... Done                   
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
noid@Laptop:~$ 
The solution is to read that wiki link--the whole thing--especially the part following
Sometimes backports depend on other backports, and it is necessary to specify these dependencies as well.


I've never had any issues with using the easier "-t" second listed method. I suppose it could theoretically possibly maybe go south, but you can always back out.
MX Linux packager and developer

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 1315
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 134 times
Been thanked: 235 times

Re: How do you install apps that you downloaded?

#10 Post by wizard10000 »

@Best_Threads
we see things not as they are, but as we are.
-- anais nin

Noidly1
Posts: 69
Joined: 2014-11-24 07:09
Has thanked: 20 times

Re: How do you install apps that you downloaded?

#11 Post by Noidly1 »

sunrat wrote: 2024-12-21 05:52
Noidly1 wrote: 2024-12-21 03:50 Ok, I inserted the backports into the repository. That is accepted and done.

Next, I did this and now have a new problem.

Code: Select all

noid@Laptop:~$ sudo apt install libreoffice/bookworm-backports
Did you try the command I posted above?
I left out the -t cause I didn't know what it was or if it was a typo.
I did run the line this morning as you had it and it worked.
Thanks.

friendlysalmon88
Posts: 186
Joined: 2023-12-08 16:48
Location: Seattle,Wa USA
Has thanked: 7 times
Been thanked: 12 times

Re: How do you install apps that you downloaded?

#12 Post by friendlysalmon88 »

If you've downloaded a package like say zoom or vscode for example youd use the following command to install said package(s).

Code: Select all

sudo dpkg - i package_name
Where package_name is the name of the debian package or .deb file from which you are trying to install program that isn't in either the fast track,base or backports repositories.

If the process above fails yielding errors about missing dependencies you can use the following command.

Code: Select all

sudo apt --fix-broken install
You execute the --fix-broken install command without a package name appended to the end of it which allows the apt or aptitude utility to crawl your system and fix broken dependencies.
Last edited by friendlysalmon88 on 2024-12-30 03:32, edited 1 time in total.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2548
Joined: 2010-06-07 16:59
Has thanked: 50 times
Been thanked: 282 times

Re: How do you install apps that you downloaded?

#13 Post by FreewheelinFrank »

friendlysalmon88 wrote: 2024-12-29 01:39 If you've downloaded a package like say zoom or vscode for example youd use the following command to install said package(s).

Code: Select all

sudo dpkg - package_name
Where package_name is the name of the debian package or .deb file from which you are trying to install program that isn't in either the fast track,base or backports repositories.
You have not specified the install action for dpkg. See Hallvor's post previously.

User avatar
stevepusser
Posts: 13135
Joined: 2009-10-06 05:53
Has thanked: 56 times
Been thanked: 103 times

Re: How do you install apps that you downloaded?

#14 Post by stevepusser »

friendlysalmon88 wrote: 2024-12-29 01:39 If you've downloaded a package like say zoom or vscode for example youd use the following command to install said package(s).

Code: Select all

sudo dpkg - package_name
Where package_name is the name of the debian package or .deb file from which you are trying to install program that isn't in either the fast track,base or backports repositories.

If the process above fails yielding errors about missing dependencies you can use the following command.

Code: Select all

sudo apt --fix-broken install
You execute the --fix-broken install command without a package name appended to the end of it which allows the apt or aptitude utility to crawl your system and fix broken dependencies.
Why not use apt to install the local deb and any dependencies at once?
Dpkg will also partially install an incompatible deb and then leave you hanging, whereas apt is smart enough at the onset to refuse to do so. But we'd have thousands of fewer posts here if people had never just tried dpkg.
MX Linux packager and developer

Noidly1
Posts: 69
Joined: 2014-11-24 07:09
Has thanked: 20 times

Re: How do you install apps that you downloaded?

#15 Post by Noidly1 »

Hey guys, just got back from vacation.
I will look into your suggestions in a few days.

The Program/App/package, as I have found, is a gz/zip file that is actually, as unzipped, a folder of 42 .deb files.
Not something that can be installed all at once, I believe...
I need to figure that one out unless they have to be done one by one...

Since I have the program installed via backport, it won't be necessary to install this package now.

However, If i have any other apps I want to install later, I will look into the methods explained above.
Thanks.

Noidly1
Posts: 69
Joined: 2014-11-24 07:09
Has thanked: 20 times

Re: How do you install apps that you downloaded?

#16 Post by Noidly1 »

Ok, back to the original question, again...

This time I downloaded Seamonkey.
It doesn't have any repository like stuff and is only available as a download.
https://www.seamonkey-project.org/

I downloaded seamonkey-2.53.20.en-US.linux-x86_64.tar.bz2 into my "Setups" folder on my /D:\Data partition (/media/noid/).
I have a folder for Programs on that partition as well which has a folder for Seamonkey that I extracted the program to.
This program does not have an installer and isn't installable, It runs from the folder it is extracted into as a whole btw...

I made a new entry in the start menu with all of the correct information and it will not work.
So, I tried to start it in the konsole which also failed. It told me that the file doesn't exist when I can clearly see it. What gives???

arzgi
Posts: 1775
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times

Re: How do you install apps that you downloaded?

#17 Post by arzgi »

When you extract a tarball, there usually is a file README or installation.

To me it is a bit unclear, why do you use Debian, if you rather use packages outside the repo?

User avatar
Trihexagonal
df -h | participant
df -h | participant
Posts: 210
Joined: 2022-03-29 20:53
Location: Land of the Dead
Has thanked: 32 times
Been thanked: 24 times
Contact:

Re: How do you install apps that you downloaded?

#18 Post by Trihexagonal »

I only install programs available through apt.
If the repo hasn't got it I don't run it.
In time you will grow to love your Robot Overlords. Worship me in their stead as their Herald that it may be well with thee in their benevolent electric eyes...and your personal data file.

arzgi
Posts: 1775
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times

Re: How do you install apps that you downloaded?

#19 Post by arzgi »

Trihexagonal wrote: 2025-01-24 05:34 I only install programs available through apt.
If the repo hasn't got it I don't run it.
Me too. The only exception was my wifi-dongle, wihch needed driver from github.

Noidly1
Posts: 69
Joined: 2014-11-24 07:09
Has thanked: 20 times

Re: How do you install apps that you downloaded?

#20 Post by Noidly1 »

arzgi wrote: 2025-01-23 18:29 To me it is a bit unclear, why do you use Debian, if you rather use packages outside the repo?
The same reason why people use Wine. Duh.
Case in point, I want to install the Fidelity trading program on here and that is going to be a chore.

There are a lot of programs that are built for multiple platforms but most are not unfortunately.
If you have years of data built on one program from one platform and are able to continue doing so with the same program built for another platform, wouldn't you try to do the same thing rather than have to redo everything for a particular distro's repo? I would think so.

Why am I using Debian? Because it is one of the three bases and the largest base of linux.
If I could go back to XP I would. I use KDE because it is the closest to XP as for look, feel, functionality and control.

I am a user, not a programmer, so all this "coding" stuff is new to me and is a huge learning curve.
It's too bad things with linux aren't as easy to do as XP. Oh well, here I am. Please forgive me for trying...

Post Reply