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
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.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I searched with Google for Windows binaries of Devhelp but I did not find something useful. I use MSYS2 and in the MSYS2 MinGW 32-bit terminal I executed pacman -Q devhelp and pacman -S devhelp, but the package could not be found.
Using Google I found this official list of MSYS2 pacman packages. Here I pressed in the browser the key combination Ctrl+F and typed devhelp. I found these resulting file names:
mingw-w64-i686-devhelp-3.8.2-2-any.pkg.tar.xz.sig - 2016-10-20
mingw-w64-i686-devhelp-3.8.2-2-any.pkg.tar.xz - 2016-10-20
So I executed: pacman -S mingw-w64-i686-devhelp. Then I was able to execute devhelp from the terminal and to execute the file C:\msys64\mingw32\bin\devhelp.exe and make a shortcut to it. I did not have to install another package to have the GTK+ 3 documentation inside Devhelp. It was there from the start.
If I knew from the start how to use pacman, I would have solved this problem faster. For pacman help I installed man-db using pacman -S man-db and then executed man pacman. From the shown information I discovered this method of searching for an available package:
hope#hope-PC MINGW32 ~
$ pacman -Ss devhelp
mingw32/mingw-w64-i686-devhelp 3.8.2-2
Remote desktop client for the GNOME Desktop (mingw-w64)
mingw64/mingw-w64-x86_64-devhelp 3.8.2-2
Remote desktop client for the GNOME Desktop (mingw-w64)
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'm running ubuntu 14.04 on an EC2
After running apt-get upgrade
I'm prompted with a screen that asks me to reinstall GRUB boot loader
The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier has changed for some reason. It is important to make sure that the installed GRUB core image stays in sync with GRUB modules and grub.cfg. Please check again to make sure that GRUB is written to the appropriate boot devices.
How do I know which device should I select?
What if I have mounted on my machine some additional EBS, should I select them as well?
Can I avoid this prompt, during the upgrade or supply some defaults to the command?
The following prompt is
A new version of /boot/grub/menu.lst is available, but the version installed currently has been locally modified.
install the package maintainer's version
keep the local version currently installed
show the differences between the versions
show a side-by-side difference between the versions
show a 3-way difference between available versions
do a 3-way merge between available versions (experimental)
start a new shell to examine the situation
The same q's here:
How do I know which one should I select?
Can I avoid this prompt, during the upgrade or supply some defaults to the command?
I had similar problem.
1) If you take a look man apt-get, you will find a configuration option-o.
It allows to set options for Debian package manager dpkg.
2) In the manual man dpkg you can find set of options --force-confdef(force to keep default option without prompting) and --force-confold (force to keep old conf files)
In some sources I found, that people pass env variable DEBIAN_FRONTEND=noninteractive as well, but I could not find it in any manual.
So, the final command in .sh script, that I use to run upgrade:
sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade
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 have been looking into OpenGL development recently and after watching a tutorial, noticed I was unable to compile my code. References that seem to be two features added specifically in SDL 2.0 are undefined according to Eclipse. I tried searching for a way to install SDL 2.0 on Debian (more specifically I am using #! but it is close enough to Debian that a fix on Debian will work).
The way I keep finding is to type into the terminal:
sudo apt-get install libsdl2-dev
This package is not found by aptitude. Can anyone tell me how to install SDL 2.0 on Debian?
Ok. Thank you to genpfault for telling me that libsdl2-dev was on backports! I would have never figured it out, especially because I have never used backports before!
For those of you stuck on this problem go to the following link if you do not know how to use backports:
http://backports.debian.org/Instructions/
Once you have setup backports, open up your terminal and run the following if you are using wheezy:
apt-get -t wheezy-backports install "package"
For other versions of Debian, I think you just need to put the name of your operating system version in the above code where I put "wheezy".
Remember in your IDE or in your terminal to compile with SDL2 instead of SDL. Best of luck!
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 just installed Fedora 20 on my laptop.
I've never been the Administrator of a Linux machine and so...I don't know how to install application on it! :D
Could you please help me ?
I tried using some command like :
sudo apt-get ....
But it fails because something is not installed, and I also tried to use the new software center, but there are no applications inside, I can only see some squares with 3 points inside them and that's all.
I just started using Linux, so I'm sorry in advance if I'll make stupid questions!
Thank'you all!
You need to type: sudo yum install "whatever without parenthesis".
Or, switch to the root account and you won't have to type sudo in front of everything.
You can use yum install application to install softwares on Fedora also refer http://www.wikihow.com/Install-Software-in-Fedora for your reference
On Fedora 22, it seems the app for managing software is no longer yum, but dnf. So, first update by running dnf updateinfo and then run gnome-software which is a GUI, or dnf search <something>.
dnf search java
dnf install java-1.8.0-openjdk