Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I want to get information about installed software in Ubuntu.
I listed the installed software using dpkg --list but when i want to display more info using dpkg -p firefox i get :
dpkg-query: package 'firefox' is not available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
and the package is installed :
dpkg --list | grep firefox
ii firefox 43.0.4+build3-0ubuntu0.15.10.1 amd64 Safe and easy web browser from Mozilla
ii firefox-locale-en 43.0.4+build3-0ubuntu0.15.10.1 amd64 English language pack for Firefox
ii unity-scope-firefoxbookmarks 0.1+13.10.20130809.1-0ubuntu1 all Firefox bookmarks scope for Unity
In CentOS i used rpm -qa to list installed software and rpm -qi {package_name} to get info with no issue. But rpm don't work in Ubuntu so i need to use dpkg. How can i get software info in Ubuntu ?
Could dpkg-query -s firefox answer your question? :)
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I want to install dbeaver on virtual machine that using linux (maybe) following this step https://computingforgeeks.com/install-and-configure-dbeaver-on-ubuntu-debian/
i try to execute this code
wget -O - https://dbeaver.io/debs/dbeaver.gpg.key | sudo apt-key add -
echo "deb https://dbeaver.io/debs/dbeaver-ce /" | sudo tee /etc/apt/sources.list.d/dbeaver.list
but there is error occured that the apt-get command not found because the apt not installed.
I want to use another alternative code by using yum because my computer has installed it. But i dont know how to replace the code above?
so, anyone have any idea to install this software alternatively?
By the way i have installed postgreSQL server to use in dbeaver following this step https://computingforgeeks.com/how-to-install-postgresql-13-on-centos-7/ and it worked
thank in advance
You can try following this guide: Install and Configure dBeaver on Fedora CentOS, in particular this line is how they installed dbeaver and the gpg keys appeared to have been checked as a part of the installation process:
sudo rpm -Uvh ./dbeaver-ce-latest-stable.x86_64.rpm
Since it looks like with yum you don't need to manually add the key to your keychain like the debian instructions had you doing, the keys appear to be managed more automatically through RPM.
Here is a description of how yum and rpm are related in particular:
[Yum] mainly functions on RPM-based Linux systems and is dependent on RPM for performing its function but is also used for the management, installation and up-gradation of the packages in RPM-based Linux systems.
This also explains why people were commenting that it appears your VM is rpm based vs ubuntu/debian based.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I had sve version 1.7 installed on CentOS and now I installed svn 1.11 using following command -
sudo yum localinstall CollabNetSubversion-client-1.11.1-1.x86_64.rpm
but after hitting svn --version, it still showing 1.7 version. Please guide me to what else I need to do to use latest version 1.11 of svn.
This might be trivial question but I haven't worked on linux environment more. Please help.
You can exec command
rpm -ql CollabNetSubversion-client-1.11.1-1.x86_64
and from the list get the location of new svn. Then you can add the directory where this is installed on the first place in PATH:
export PATH=/here/is/the/location:$PATH
(and add this to ~/.bashrc also)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
When I tried to install arduino on ubuntu, arduino site says that I can install it through terminal by typing these commands
sudo apt-get update && sudo apt-get install arduino arduino-core
And generally in Linux Debian we can install programs using terminal by typing
sudo apt-get install ${program-name}
The question is how could I know the ${program-name} needed to install without going to the program installation guide to copy the code?
The apt-cache command line tool is used for searching apt software
package cache. In simple words, this tool is used to search software
packages, collects information of packages and also used to search for
what available packages are ready for installation on Debian or Ubuntu
based systems.
To find out the package name and with it description before installing, use the ‘search‘ flag. Using “search” with apt-cache will display a list of matched packages with short description. Let’s say you would like to find out description of package ‘vsftpd‘, then command would be.
Syntax:
apt-cache search SearchTerm
$ apt-cache search vsftpd
The possible output would be:
vsftpd - lightweight, efficient FTP server written for security
ccze - A robust, modular log coloriser
ftpd - File Transfer Protocol (FTP) server
yasat - simple stupid audit tool
To find and list down all the packages starting with ‘vsftpd‘, you
could use the following command.
$ apt-cache pkgnames vsftpd
You may also want to run the results through a more, or even a grep.
For instance:
apt-cache search firefox | grep plugin
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have to install a package (J-Link: https://www.segger.com/jlink-software.html) into Ubuntu 14.04 LTS (Latest 64 bit (4.1.0-x86_64-linode59)), but I am not sure which one I should install:
DEB Installer 64-bit version
RPM Installer 64-bit version
TGZ archive 64-bit version
All three are possible, but
It is probably easiest to install the .deb, assuming it is appropriate for your operating system.
To check the integrity of the deb before installing:
md5sum PACKAGE.deb
and make sure the output matches the md5sum reported on the website from which you downloaded the deb.
Then to install the deb:
dpkg -i PACKAGE.deb
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I was trying to down-version glib library installed on my Red Hat 6.4 server. First, I uninstalled it using-
rpm -e --nodeps glib
After that I am unable to execute terminal commands (e.g. ls, cd). Now, I want to recover my system. How can do that? Thanks.
[I have Red Hat 6.4 iso. I tried to see any option given while booting from it. But unable to find.]
Boot the machine to rescue mode.
Mount the CD/DVD to some temp directory
mkdir temp
mount /dev/hdc temp
Check the output of the to find any missing files and dependencies.
rpm -Va
Now find the rpm location on the CD/DVD/ISO.
Install the RPM manually.
rpm -ivh --force --noscripts --root=/mnt/sysimage /path/to/glibc.rpm /path/to/other/missing.rpm
Reboot the system and run rpm -Va again