LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-20-2016, 12:00 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Installed Byobu and 'make install' and 'packman' isn't removing it-


Hi:

I installed Apricity (Arch based) and I wanted another terminal emulator so I installed Byobu via a tar.bz.
I am not good with Arch as this distro is new to me.

It installed Byobu but it's not working so I'd like to remove it.
I've tried these cmd's to rm it.

Code:
make uninstall
packman remove byobu 
packman -Rsc byobu
When using the above command the terminal returns.
Code:
target not found and 
* No rule to make target 'uninstall'.  Stop.
The binaries are in:

Code:
 ~  whereis byobu                                                 127
byobu: /usr/local/bin/byobu /usr/local/etc/byobu /usr/local/lib/byobu
The directory byobu_5.107 from the tarball was removed with the rm -rf cmd.

How do I remove all of these files in the above mentioned directories?

Last edited by Ztcoracat; 05-21-2016 at 08:35 PM.
 
Old 05-20-2016, 12:41 PM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by Ztcoracat View Post
Hi:

I installed Apricity (Arch based) and I wanted another terminal emulator so I installed Byobu via a tar.bz.
I am not good with Arch as this distro is new to me.

It installed Byobu but it's not working so I'd like to remove it.
I've tried these cmd's to rm it.

Code:
make uninstall
packman remove byobu 
packman -Rsc byobu
Hi!

I hope that you used
Code:
pacman
and not 'packman'

pacman does not have a 'remove' switch. You use
Code:
pacman -R[ns] <packagename>
or
Code:
pacman --remove <packagename>
to remove programs.

That said, pacman won't work on things you installed yourself, without using pacman.

See
Code:
man pacman
for more info

Quote:
Originally Posted by Ztcoracat View Post
The binaries are in:

Code:
 ~  whereis byobu                                                 127
byobu: /usr/local/bin/byobu /usr/local/etc/byobu /usr/local/lib/byobu
The directory byobu_5.107 from the tarball was removed with the rm -rf cmd.

How do I remove all of these files in the above mentioned directories?
Well, if it were me, I'd do a simple:
Code:
# rm /usr/local/bin/byobu
etc...

Best regards,
HMW

Last edited by HMW; 05-20-2016 at 12:45 PM.
 
Old 05-20-2016, 01:04 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I mispelled pacman-

The command pacman --remove byobu returned:
Quote:
target not found: byobu
This cmd didn't work for me.

Code:
rm /usr/local/bin/byobu
There are multipule files associated with Byobu and named as such.
Here's a screenshot-
http://i1052.photobucket.com/albums/...13-55-50_1.png

?

Last edited by Ztcoracat; 05-20-2016 at 01:10 PM.
 
Old 05-20-2016, 01:44 PM   #4
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Hi again!

Like I said above, you simply cannot use pacman to remove programs that you have not installed with pacman.

Quote:
Originally Posted by Ztcoracat View Post
This cmd didn't work for me.

Code:
rm /usr/local/bin/byobu
That is because you have to be root. The # sign above in my post shows that you are root, but maybe I should have been more specific.
Try
Code:
sudo rm /usr/local/bin/byobu
or swith to your root account and issue the command as I showed you above.
Quote:
Originally Posted by Ztcoracat View Post
There are multipule files associated with Byobu and named as such.
Here's a screenshot-
http://i1052.photobucket.com/albums/...13-55-50_1.png

?
Perhaps use find along with rm -i to find and delete all the files?

Best regards,
HMW
 
Old 05-20-2016, 02:31 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
This doesn't make sense. The files are in that bin file in the screenshot.

Running the command you posted as root:

Code:
sifu  ~  sudo rm /usr/local/bin/byobu
[sudo] password for sifu:
rm: cannot remove '/usr/local/bin/byobu': No such file or directory
 
Old 05-20-2016, 06:34 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I also tried:

Code:
cd /usr/local/bin/byobu
sudo rm /usr/local/bin/byobu
rm: cannot remove Is a directory
Would using sudo rmdir byobu work or would that interfere with the regular /usr/bin directory?

I know Korora isn't Arch but for what it's worth I was able to install Byobu. Remove each binary one at a time and also rm the entire emulator from Korora using the commandline utility 'dnf' which is just like Arch's pacman.

BTW there weren't any errors during or after ./configure, make and make install.

Last edited by Ztcoracat; 05-20-2016 at 08:39 PM. Reason: Additional details
 
Old 05-21-2016, 01:05 PM   #7
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by Ztcoracat View Post
I also tried:

Code:
cd /usr/local/bin/byobu
sudo rm /usr/local/bin/byobu
rm: cannot remove Is a directory
Would using sudo rmdir byobu work or would that interfere with the regular /usr/bin directory?

I know Korora isn't Arch but for what it's worth I was able to install Byobu. Remove each binary one at a time and also rm the entire emulator from Korora using the commandline utility 'dnf' which is just like Arch's pacman.

BTW there weren't any errors during or after ./configure, make and make install.
I know nothing about Korora, but wouldn't a simple:
Code:
rm -rf /usr/local/bin/byobu
(as root) take care of the problem?

Your second question I do not understand. Removing one binary from /usr/local/bin has no effect whatsoever on /usr/bin

But, as always, be very (VERY) careful when using rm -rf!!!

Best regards,
HMW
 
Old 05-21-2016, 01:45 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Yes, it should of worked; but it did not. It's still there.
http://i1052.photobucket.com/albums/...2014-28-57.png

These files in the screenshot are the left over byobu files after removing the byobu directory from the tar ball. There may be other files throughout the system that are associated with Byobu so I'd like to get rid of all of them.

Would reinstalling Byobu help and than try the rm -rf be the better approach?
 
Old 05-22-2016, 01:26 AM   #9
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Sorry buddy. I simply have no idea why you can't remove these files. rm -rf as root ought to have worked. At this point, I am out of ideas.

Best regards,
HMW
 
Old 05-23-2016, 09:51 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Problem rectified:-

Running:

Code:
sudo gksu natailus
gave me complete access to all of the Byobu files that were in /usr/local/etc/byobu and in /usr/local/lib/byobu. I sent all of the files to the trash.

In addition to that I found a good tutorial that you can delete/remove files by the inode reference number.
Code:
# find . -inum 782263 -exec rm -i {} \;
http://www.cyberciti.biz/tips/delete...de-number.html

Also; works like a dream!-

HMW:
Thanks for staying with me, your time and effort is greatly appreciated.-

00:::- ** -::- ** -::- ** -::- ** -::-
A very special thanks to our Guru frankbell & and our Guru TB0ne-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check a program that was installed via configure, make and make install linuxandtsm Linux - Newbie 1 04-06-2012 02:41 PM
unable to install software from packman, yast complains about dependencies sirius57 SUSE / openSUSE 4 04-22-2008 09:33 PM
How to uninstall package installed with make install dhirsolo Linux - Software 3 07-29-2005 02:11 PM
packman source install not working? minm SUSE / openSUSE 2 05-02-2005 04:57 PM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration