Ubuntu :: Check If A Package Is Installed Via Command Line?

Aug 20, 2010

After sifting through numerous apt-get apt-cache apt-file tutorials I still can't find a command to check if a package is installed via the terminal command/line.

I know there must be some way to do it.

Say I want to check if any package from the libavcodec*.deb family is installed how could I do this without a gui eg synaptic?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Check Installed Versions Of Apps From Command Line?

Sep 8, 2010

Like i'm curious what version of wine i have installed...What are my current ati drivers installed...If wine isn't 1.2 or 1.3 how do i update it from command line?really any insight into this process would help its not absolutely critical to know but i've been looking around and haven't found informationOr some references to good articles to become a command line guru would be cool as well.

View 8 Replies View Related

Ubuntu Installation :: Check The Configuration Of A Self-installed Package?

Jan 22, 2011

I'd love to know how to check the original configuration of a self-installed package? For example, I would like to install the package XXXXX. I did:

./configure
make
make install

After the installation, I would like to know what the configuration I used for XXXXX's installation. Maybe some dependencies (for example, A,B,C...) were not found so that XXXXX was installed without depending on A,B,C.... However, now, I would like XXXXX depend on A,B,C... How to check whether the current installed XXXXX's original configuration?

View 1 Replies View Related

Debian :: Use Aptitude To Check For An Installed Provided Package?

Jan 15, 2011

I regularly compile something from a source repository that has a certain set of dependencies. Some of these dependencies are dev libraries that are provided via other libraries but are not considered installed packages in themselves, so I cannot test for some dependencies directly.

I am currently parsing an "apt-cache showpkg" output to check for some of these provided dependencies. This is somewhat kludge-y and messy, and I was looking for a more elegant solution.

Is there an APTITUDE option that will directly test for the presence of a library that is part of some other package without having to know the name of the package that the library is part of?

View 2 Replies View Related

Programming :: Check Command Line For A Word?

May 23, 2010

I'm building a script for my place of employment. The next step in it is checking what the user input was. Determining if they added a part in there or not. The script prompts for a hostname. Hostnames are localhost.localdomain. Now, I want the script to check to see if they put localdomain and if they did, not to add the domain to the /etc/sysconfig/network, but just what they entered. So say the user inputs:

[Code]....

View 4 Replies View Related

General :: Check DVD Region Code From Command Line?

May 3, 2010

Is there a way to get DVD region code from command line (linux/ubuntu 9.10)? I want to script this action and store the region code (and other data about DVD) in a log.

I am looking for the info about media, not the drive.

View 1 Replies View Related

General :: Command Line - How To Check If DVD/CD Is 32bit Or 64bit

Sep 3, 2010

Is there any command on linux to check if CD or DVD is 32bit or 64bit?

View 2 Replies View Related

General :: Check If A Directory Exists In Command Line?

Jan 21, 2010

How to check if a directory exists in Linux command line?

[Code]....

View 5 Replies View Related

Software :: Flag For The Cvs Command To Check The Latest Tag Of A Certain Package?

Nov 4, 2010

Is there a flag for the cvs command to check the latest tag of a certain package

View 1 Replies View Related

Debian Configuration :: Check Battery Levels Command Line?

Feb 12, 2011

since I am on a Dell inspiron 1545 laptop, being able to display my battery charge is critical. After some extensive googling, I found I need a command 'acpi', which does not exist on my computer. I cannot seem to find it in the packages database; the closest thing being 'acpi-support' apt-get install also can't find it.

I tried cat /proc/acpi/battery/BAT0/state, but that only shows me if the battery is discharging or charging and doesn't give me an actual percentage.

View 1 Replies View Related

General :: Command To Check Whether Service Installed / Running?

Feb 26, 2010

Is there a unique command ( common to all Linux Distros, Solaris, Windows ) to know whether a service is installed and running on my system or not??

View 5 Replies View Related

General :: Command Line To Check For A Specific Email - By Subject - On An SSL Secured IMAP Server?

Feb 1, 2011

Anyone know a simple command line to check for a specific email - by subject - on an SSL secured IMAP server?

View 2 Replies View Related

Ubuntu Installation :: Force A Package Version Via Command Line?

May 19, 2010

I have the suspicion that the latest gdm update (2.28.1-0ubuntu2.2) broke something because the login screen isn't displayed anymore on my desktop. My question is the following:How can I revert an update or force a package version via command line? It's pretty straight forward via Synaptic but I only have access to the recovery command line so that is not really an option.

View 1 Replies View Related

General :: See All Installed Program In Ubuntu From Command Line?

Jun 16, 2010

How can I see all my installed program in Ubuntu from command line?

View 2 Replies View Related

General :: Minimal Installed Server, Put A GUI And VNC Via Command Line?

Apr 14, 2010

Total, total noob here, but I would like to know if this is possible, and maybe some tips on how to do it if it is.I just got myself a dedicated server, and I guess I assumed I could just remote control it via my own screen, much like using vnc or remote desktop, but that wasn't the case.The server has Debian 5.0, a "minimal install" is what they called it, I assume it's just installed and not configured at all.1. Connect to the server, and I guess the only way is via telnet? Since I have no VNC or remote desktop (yeah, microsoft, I know, but I don't know what it's called for Linux/GNU).2. Can I install VNC or somehow "activate" or "open" the GUI via telnet, much like a remote desktop kind of solution? I have used Debian's GUI on my laptop a couple of times, and I'm a total Windows-user, but I can navigate the graphical interface. I'm just COMPLETELY nulled when it comes to command line.So yeah, I guess I'm wondering how the heck I can remote control the server via a GUI, preferably VNC, and if I can install it via telnet or however I'm supposed to connect to the server?

View 6 Replies View Related

Slackware :: Way To Command Slackpkg To Reinstall All Installed Package

Aug 10, 2010

I need to know if there is a way to command slackpkg to reinstall all installed packages...?I dont think there is but also wanted to know if I could somehow edit scripts, etc to enable this.I need this because as many know here I make variations of livecd's and I have injured one of my installs when I ran a script that I shouldn't have and it deleted several directories under /etc usr/lib and /usr/bin.I have no idea exactly what was deleted and thus I wish to reinstall all installed packages.There must be a way to do this without the borish method of manually reinstalling hundreds of pkgs.Is there a way to grep/ var /log/packages and say reinstall all?

View 11 Replies View Related

Ubuntu Servers :: Install Package Wireless-tools From Usb Using Command Line In An Offline Computer?

Mar 16, 2011

I installed ubuntu 10.10 server from an usb stick. I do not have access to a wired connection and do not have a CD drive, so now I need to configure the wireless connection.for that I need to have wireless-tools which if i am not wrong are not installed by default so the question is: how can I install the wireless-tools package from an usb using only command line? note: I got internet access from another ubuntu-desktop PC so i can download any package needed, etc.

View 3 Replies View Related

Programming :: Access A File Line By Line, And Check The Length Of Each Line.

Feb 13, 2011

I want to access a file, and check the length of every line.After, i want to check and replace all lines with length over 10 characters, with a message.Does anyone have a clue on that?

View 1 Replies View Related

CentOS 5 Server :: Show All Services Running / Installed In The Command Line?

May 6, 2011

Howto show all services running/installed in the command line under Centos 5.6 Server?

View 6 Replies View Related

General :: Ubuntu - Package For Specific "command History" On Terminal Line?

Sep 19, 2011

Is there a package I can download for Ubuntu that would allow me to type in,for example, cd [tab key] and then it would go through the recent cd commands I've typed in?

View 2 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Ubuntu :: Check What Version Of GRUB Installed - The Program 'grub' Is Currently Not Installed

Dec 18, 2010

I wanted to check what version of GRUB I have installed. I went to terminal and typed grub --versionI got this message back: The program 'grub' is currently not installed. You can install it by typing: sudo apt-get install grub

I am running Ubuntu 10.10 alongside windows xp pro. When I turn my pc on I have the option to boot to ubuntu or xp and at the top of the window it says that the version of grub running is "GNU GRUB Version 1.98+20100804-5Ubuntu-3" how I shold go about installing GRUB 2 or just leave it as is.

View 2 Replies View Related

Software :: Use Command Line To Split A Single-lined XML Into A Multi-line XML?

Dec 9, 2010

I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...

View 3 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Ubuntu Installation :: Error - Dpkg: Warning: Files List File For Package `libsdl-image1.2' Missing, Assuming Package Has No Files Currently Installed

Sep 23, 2010

When i try installing anything i get errors, for example when i try to install somthing from ubuntu software center i get this.

Code: installArchives() failed: Preconfiguring packages ... Preconfiguring packages ... Selecting previously deselected package ttf-symbol-replacement. (Reading database ... dpkg: warning: files list file for package `libsdl-image1.2' missing, assuming package has no files currently installed.

[Code]....

View 4 Replies View Related

Ubuntu :: Package Seems Not Installed While It Actually Is Installed

Mar 24, 2011

i have to use lh command. I have installed all updates for ubuntu, live-build (the package for lh) and its updates. So my system is fully updated.When i hit "lh" command i get the following message: The program 'lh' is currently not installed. You can install it by typing:

sudo apt-get install live-build

When i do type: "sudo apt-get install live-build" i get:

Reading package lists... Done
Building dependency tree
Reading state information... Done
live-build is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

View 5 Replies View Related

Ubuntu :: Check Line For Account In /etc/passwd?

Nov 12, 2010

If you don't know which shell you are using , either check the line for your account in /etc/passwd

what is that suppose to mean? how do i check it? do i check it from the terminal?

View 3 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved