I'am tying to install one browser. I have downloaded the application but i am unable to install via CLI. Please guide me how to install an aplication via CLI like .deb or tar.gz (Note: Here CLI(Command Line Interface) means terminal)
I'am tying to install one browser. I have downloaded the application but i am unable to install via CLI. Please guide me how to install an aplication via CLI like .deb or tar.gz (Note: Here CLI(Command Line Interface) means terminal)
Without knowing more about the .deb package you wish to install it is impossible to give you any assurances that this will work but in general terms you need to
1-
cd to the folder where the .deb package is sitting, eg cd Downloads.
2-
Run command sudo apt install ./packagename.deb changing the package name to whatever you downloaded and do not omit the ./ prefix.
Be aware that this is not the usual way to install packages; normally we use the repositories so tell us more about this package you want to install and use.
Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads --- System-Info-Script
There are various ways of doing it. I prefer to use the apt command, it will also install any missing dependencies.
in this example, the .deb file is located in the folder Downloads, and the program you are trying to install is skype.
Code:sudo apt install ~/Downloads/skype*.deb
@ajgreeny Unsuccessful.
Last edited by electricmax; January 8th, 2023 at 11:17 AM. Reason: Because the thread was to unknown destination
Last edited by ajgreeny; January 8th, 2023 at 12:24 PM.
Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads --- System-Info-Script
Yes, The .deb files are installing now but tar.gz is not installing how to install tar.gz files? Is there any other command for installing tar.gz files. If yes please help me to install tar.gz application on my ubuntu. I tried but unsucessful.Code:i dont find the option to tag the screenshots as code but i found this option wrap code, i think this is not the option to tag CLI screenshot images but i don't have any choice. If i found option to tag images in future then i will tag images as coding imges #codingimages, first help me to install tar.gz or xz files then you can write me regarding tagging screenshot images. I hope you will reply to this thread and you will write me solution for tar.gz or xz files so thank you for everything.
Last edited by deadflowr; January 8th, 2023 at 05:38 PM. Reason: fixed broken quote tag
Open the terminal
Enter your command
Allow the command to succeed or fail
Copy the relevant text from the terminal output.
Open Adv Reply editing screen (i.e not Quick Reply)
Click on the code tag icon and paste.
The text should now be within code tags.
Preview post to double check content.
But... You were asked what it was for, and what you were trying to install, so that they knew, at least a bit of what you were trying to do...
That is like saying: How do you open a box? And it is Pandora's Box. Or how do you erase a directory? And the directory is Root...
You are not giving anyone any context or details. Please help the people who are trying to help you.
"Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags
Why are you messing around with a tar.gz archive of hexchat when it is available in the normal repositories and can therefore be installed with commandor using a GUI package manager.Code:sudo apt install hexchat
I wonder if you are still using the Windows method of installing applications by first searching for them on the web, then downloading them and finally installing, or trying to install what you downloaded.
That is not the way software is managed in Ubuntu (nor in most, if not all other Linux distros) where we nearly always install applications directly from the repositories usingor using one of the several GUI package managers available.Code:sudo apt install packagename
I very seldom use the GUI versions but if I do use one it is synaptic, never one of the other GUI Package managers.
Packages that you find and download as .tar.gz archives are not directly installed but need to be extracted first and the file or files it contains can then be investigated. The contents could be a single file, perhaps even a .deb package but is more likely to be either source code files which have to be compiled and built into a package, or perhaps a script and other data files that will install a package if the script is executed. As a new user I suggest you do not bother with these methods, but wherever possible use the Ubuntu repositories.
Before you again start a search for a package to install in Ubuntu please search the repositories using one of the GUI software managers or ask here in the forum if you are having problems finding something that you want. There are also command line search facilities for finding applications but once again, as a new user you may find this more difficult than a GUI.
Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads --- System-Info-Script
Bookmarks