Ubuntu :: Uninstall Package That Install From Compiling Tar Gz File

Sep 16, 2010

1. How to uninstall package that install from compiling tar gz file

2. how to stop some service ?

View 4 Replies


ADVERTISEMENT

General :: Install All Files Of Package When Compiling?

Jun 19, 2010

Where is the best path to install all files of package when compiling?

For example - I want to install ProFTPd, so there's an option

--prefix=/usr/local/proftpd

, which means, that all files after compilation (including binary and configuration files) will be stored here. As you know, all packages, which are installed via package system (like zypper on SuSE or apt on Ubuntu) usually stores its configuration files in /etc/ and binary files in /sbin/ and also stores a link in my $PATH, so i can run in just by typing proftpd (without /sbin).

The huge advantage of packages installed via package system, i think, is easy uninstall process. I'd like to be able to uninstall compiled packages also easy.

I think i could be able to create some batch file, which I'll be able to use like this:

uninstall --package=proftpd

And my script will find all proftpd files in usuall paths (/etc, /sbin) and remove it using rm.

Is there any best practices, where to store all these files, or are there any (dis)advantages of my first example (--prefix=/usr/local/proftpd)?

I really don't think, that it's nice to have 2 paths with configuration files and binary files, but maybe I'm misunderstanding the basic principals of Linux... :-)

View 4 Replies View Related

Software :: Cannot Install/uninstall Programs Because "package System Is Broken"

Mar 12, 2011

I am running Ubuntu 10.04 In Ubuntu Software Center I tried to remove Document Viewer. I then tried to install PDF Editor Neither worked and I got the below message The Package system is broken Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f� I tried to run apt-get install -f and got this message

david@leibnitz:~$ apt-get install -f
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
david@leibnitz:~$

I switched to root and got this

david@leibnitz:~$ apt-get install -f
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
david@leibnitz:~$ root

[code].....

At some point while trying install/uninstall I got a message that said to check the broken filter to see which file is broken. At present, I cannot install/uninstall programs. I do not know how to access the broken filter. And I cannot run apt-get install -f

View 5 Replies View Related

Ubuntu :: How To Uninstall The A Package

Jun 30, 2010

i downloaded a printer driver called snx-100 which was installed correctly, i now need to uninstall it, i ran it's uninstall.sh script which it said it's done correctly, but now to every package i want to install i get the following message which i have attached

View 5 Replies View Related

Ubuntu :: Can't Uninstall Any Package?

Oct 25, 2010

I've been trying top get my Brother MFC-420CN printer working in 10.04.I had it working in 8.04 but I can't get the model to show up in the brother drivers. Anyways I tried uninstalling & reininstalling through synaptic but one thing got stuck with an error uninstalling. A package named "brscan". It has an x by the package & I get an error no matter what I try to do. Now I can't install any of the Brother packages because I keep getting this error about the brscan package & I can't get rid of it.

View 2 Replies View Related

Ubuntu :: How To Uninstall The Latest Package

Mar 12, 2010

I use the command

Code:
dpkg -l

to see all the packages installed in my Ubuntu. The question is that I want to uninstall the latest package but there's no date in the package list made by the command "dpkg -l". so how can I do that?

View 4 Replies View Related

Ubuntu :: Uninstall Very Bad Unestable Package

Jan 28, 2011

I have installed, actually just tried to, BSecPKLinux-2.0.0.0007 as token utility, but the attempt screwed my synaptic. I'm using a ubuntu 10.10.While running the install file, a package failed to install and from then on I was never able to fix this. the package is rnboifd. When i try to uninstall it or purge it using dpkg it complains it is in a "very bad inestable state" and should reinstalled. when trying to reinstall fails.

View 1 Replies View Related

General :: How To Uninstall A Package

Mar 10, 2010

I recently installed Splunk on my Fedora 12 machine. It is not working properly and I also don't like where I installed it which was in my downloads folder some how. I cannot figure out how to uninstall this package and the Splunk Doc's are pretty weak.

View 14 Replies View Related

Ubuntu Installation :: Broken Package Fail To Uninstall

May 27, 2010

i am Ubuntu rookie i installed the following package onboard (Simple On-screen Keyboard with macros and easy layout creation) when i try to uninstall it using Synaptic Package manger i get the following error.dpkg: parse error, in file '/var/lib/dpkg/status' near line 26430:invalid package name (character `|' not allowed (only letters, digits and characters `-+._'))and when i try to configure it get the same error any help msi@msi-desktop:~$ sudo dpkg --configure -a dpkg: parse error, in file '/var/lib/dpkg/status' near line 26430: invalid package name (character `|' not allowed (only letters, digits and characters `-+._'))using Ubuntu 10.4

View 1 Replies View Related

Fedora :: Uninstall A Program Or Package From 11 KDE?

Oct 21, 2009

How can we uninstall a program or package from Fedora? I use Fedora 11 KDE.

View 5 Replies View Related

Fedora :: Yum Wont Uninstall A Package?

Apr 8, 2010

Had this issue before I have packages that are long gone that wont go away. I even had drivers installed Id like to get rid of. Anyhow to start it off here is a screenshot

View 8 Replies View Related

General :: Command To Uninstall A Package?

Oct 22, 2010

I have installed a package via command line via following command

sudo apt-get install ubuntu-restricted-extras

How I can remove this package ? what is the command ?

View 1 Replies View Related

Software :: How To Uninstall Python Package

Nov 7, 2009

Is there a formal documented way? I have found a method of doing it, but I find it difficult to believe the ability to uninstall is not formally supported. [URL]

Essentially:
When you install - python setup.py install --record files.txt
When you uninstall - cat files.txt | xargs rm -rf

This will, however, require the user to look through files.txt like a hawk. It is really not an ideal situation I would think.

View 1 Replies View Related

General :: Error While Compiling Binutils 2.15.92 Package?

Feb 11, 2011

I am trying to compile binutils 2.15.92 package on RHEL 5.4, which is required with gcc 3.4.6 version. I have already installed gcc 3.4.6 on /opt/gcc.

I have given the --prefix as /opt/binutils during compilation. I have all flex, bison and m4 packages installed.

I am getting following error during compilation..

Code:
root/binutils/binutils-2.15.92.0.2/binutils/bucomm.c:425: warning: the use of `mktemp' is dangerous, better use `mkstemp'
ar.o: In function `mri_emul':
ar.c:(.text+0x9f2): undefined reference to `yyparse'

[Code]....

View 7 Replies View Related

General :: Uninstall Libasound2-dev Package Came With DB2 Express-c?

Jan 28, 2011

I have installed db2 express-c on Ubuntu 10.04 server using apt-get; the installation is successful but I noticed that libasound2-dev package has been installed along with db2.I don't want this ALSA sound package, when I tried to remove it by "apt-get remove" it was trying to uninstall DB2 as well as there is a dependency. So, how do I remove ALSA package without removing DB2 ?PS: Also, db2 installed X11 packages like libx11-dev, libxproto-core-dev etc., which are also not need for me as it is a sever OS.

View 4 Replies View Related

Fedora :: Compiling Rtorrent - No Package 'openssl' Found

Jul 12, 2010

i ve been trying to compile rtorrent from source and while configuring i run to this: Code: checking for OPENSSL. configure: error: Package requirements (openssl) were not met: No package 'openssl' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. i tried to install openssl and than i came up to this:

[Code]....

View 3 Replies View Related

Fedora :: Compiling Programs - No Package Libnotify Found

Jul 26, 2011

I want to compile program. "./configure" giving :

Code:
[kuba@Kuba-fedora uget-1.8.0]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executable .....

Configure: error: Package requirements (libnotify) were not met:
No package 'libnotify' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
and LIBNOTIFY_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. But I have the newest version of libnotify.

View 2 Replies View Related

Debian Configuration :: Removing Libcups2 Tries To Uninstall Every Other Package?

Apr 26, 2011

In an attempt to minimize my system when I mark for removal libcups2 using synaptic it asks to install 7 not authenticated packages, however if I choose mark for complete removal it asks to install the same 7 packages and remove every single installed package from epiphany to gimp to zenmap. Any ideas as to whats going on with that?

Squeeze 6.0.1
kernel 2.6.32-5-amd64
intel core i5

[code]...

View 3 Replies View Related

Ubuntu Installation :: Found A Bunch Of RPM Package-management Stuff Such As Rpm, Alien, Compiling Tools?

Feb 20, 2010

Pretty much self explanatory:This morning I went into the update manager, and found a bunch of RPM package-management stuff such as rpm, alien, compiling tools, etc. What is up with this?I suspect they are setting the scenery for some big press release saying they now support RPM packages in Ubuntu too. Any ideas? (or better, inside info from someone who knows)

View 3 Replies View Related

Debian :: Unable To Install Any Package - File Not Found

Apr 27, 2011

I would like to install svn, but I am unable to install. sudo apt-get update gives me :

Ign file: eeepc Release.gpg
Ign file:/home/user/packages/ eeepc/main Translation-en
Ign file:/home/user/packages/ eeepc/main Translation-en_US
Ign file: eeepc Release
Ign file: eeepc/main amd64 Packages
Err file: eeepc/main amd64 Packages
File not found
W: Failed to fetch file:/home/user/packages/dists/eeepc/main/binary-amd64/Packages.gz
File not found

E: Some index files failed to download, they have been ignored, or old ones used instead.
sudo apt-get install apache2 gives me :
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apache2

View 8 Replies View Related

Ubuntu :: Unable To Update / Install - Package Lists / Status File Could Not Be Opened

May 21, 2011

i cant update or install anything. i have started update manager and i got an error. then i tried to update through terminal and got this:

[code]...

way of fixing this?

View 2 Replies View Related

General :: Can't Install .Deb File Or (package) / Dpkg: Command Not Found?

Jan 3, 2010

I'm using a new Distro and after installing it and randomly searching for help on websites on how to install a .Deb file using dpkg at the konsole/terminal it says Bash : dpkg: Command not found . how is this possible ? Do I have to know about all the packages in the package manager to install this. slight difference for me ... knowing what I have and knowing if I need Apr93-323? (whatever) installed first or not ? The only thing I know is that I have the Iso image installed ... which is my linux distro . Where to go from here? because I usually go to a website site to find Software to install ...if I need it .back to the basics

View 14 Replies View Related

General :: Install One Testing Package By Just Modifying Source.list File?

Apr 26, 2010

I want to pick up Python3 from squeeze, meanwhile I would like to stay with lenny with all other packages. Is this possible by just modifying source.list file?

View 2 Replies View Related

SUSE :: Package A War File As An RPM Package - Always Giving Errors In %build Stage

Feb 14, 2011

Still I am asked to package a war file as an RPM package. That is an unusual RPM packaging(To me). If you guys could guide me I have a war file inside a folder, that folder is inside a tar file as a SOURCE for RPM package. The structure is like below.

[Code]...

I simply want that the war file from sources is transferred to the web app of my tomcat server through RPM. I try to package it as an RPM, but its always giving me errors in %build stage. When I try to remove %build from stage from the spec file, then it says command missing.

My system details are:
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 1
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"

View 5 Replies View Related

Ubuntu :: How To Uninstall A Bin File

Jul 25, 2010

i have just installed the java run time environment (jre-6u21-linux-i586.bin) in the wrong directory on my desktop version of Ubuntu. i wish to uninstall the files that are in the incorrect location and then install these files in the correct directory (/usr/local/jrel.6.0_21). i cannot remove the incorrectly located files. the command rm -R does not work, it claims that no such directory exists.

the result of ls -l shop it to have the following permissions (drwxr-xr-x 8 root root 4096 2010-07-25 12:33 jre1.6.0_21). i cannot change into the directory. the lsattr attributes of the directory are --- --- --- ---. i cannot move the directory and files as again the directory does not exist. i have also used apt-get remove but still no success how do i uninstall these bin directory/files?

View 2 Replies View Related

Ubuntu :: Installing Driver From 2002 - Compiling A File "usbserial.c" Into "usbserial.o" In Order To Do Makefile Install

Jun 16, 2011

I am porting a Python program to Linux (which I'm a first time user of). The program uses ADAM modules for which I need the driver installed. My problem is compiling a file "usbserial.c" into "usbserial.o" in order to do makefile install. I've replaced the config.h with autoconf.h. I entered "sudo apt-get upgrade", though I don't know why. Now my src folder looks like this:

[Code]....

View 2 Replies View Related

Ubuntu :: Install A .bin Package With Synaptic Package Manager?

Oct 2, 2010

I want to install CmapTools in my desktop, which runs v.10.04. I have downloaded the .bin file from their site.Is there a way to install it using Synaptic Package Manager?

View 2 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 :: Any Configuration File / Do I Have To Uninstall Compiz-core Complete?

May 25, 2010

as my laptop is getting older and slower, I deactivated the nice window effects. System -> propieries -> appereance -> no effects.But Ubuntu reactives them after the next reboot!Is there any configuration file or do I have to uninstall compiz-core complete?

View 8 Replies View Related

Debian :: Compiling Kernel - File Locations?

Aug 1, 2011

I am completely new to compiling the kernel. Trying to compile on an old Dell C610 laptop that has Debian 6.01 installed and working. Here is what I have done so far:

Downloaded linux-3.0.tar.bz2 to home directory Also downloaded patch-3.0-git13 to home directory tar xjfv linux-3.0.tar.bz2 which uncompressed the tar ball in the created the linux-3.0 directory in my home directory

[Code]...

View 9 Replies View Related







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