LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-02-2023, 11:43 AM   #1
Drosera_capensis
Member
 
Registered: Jun 2018
Posts: 153

Rep: Reputation: Disabled
Locate the pacman package manager to put it in the PATH


Hello everyone,

I have just installed the pacman package manager with:
Code:
sudo apt install pacman-package-manager
But when using command line to call pacman, I got this result:
Code:
pacman -Syu
bash: /usr/games/pacman: No such file or directory
I think it might be that a game with the same name was installed, and I should change the path to call the package manager and not the game.

Unfortunately I do not know where is the package manager. Could you help me to locate it?
 
Old 11-02-2023, 12:43 PM   #2
lvm_
Member
 
Registered: Jul 2020
Posts: 984

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
You can use 'dpkg -L <package name>' to list files installed from a debian package, however it is probably already in the path: this 'bash: /usr/games/pacman: No such file or directory' message with explicit path indicates that you had a file named pacman installed and its location was cached by bash. If you run 'hash -d pacman' to remove the old entry bash will probably find pacman by itself.
 
Old 11-02-2023, 01:59 PM   #3
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Pop!_OS
Posts: 945

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by Drosera_capensis View Post
Hello everyone,

I have just installed the pacman package manager with:
Code:
sudo apt install pacman-package-manager
But when using command line to call pacman, I got this result:
Code:
pacman -Syu
bash: /usr/games/pacman: No such file or directory
I think it might be that a game with the same name was installed, and I should change the path to call the package manager and not the game.

Unfortunately I do not know where is the package manager. Could you help me to locate it?
I am curious as to why you want to use Arch Linux's package manager in Ubuntu. If you are dissatisfied with the Ubuntu Store you can download synaptic package manager.
 
  


Reply

Tags
pacman



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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
LXer: Deb-pacman : A Pacman-style Frontend For APT Package Manager LXer Syndicated Linux News 1 12-09-2019 05:21 PM
Why do we need pacman-key if pacman checks md5? Mr. Alex Arch 5 03-09-2012 05:05 PM
[SOLVED] E: Unable to locate package nova-comm E: Unable to locate package python-psycopq2 mint12 Linux - Virtualization and Cloud 2 01-05-2012 12:07 PM
Anyone else 'pacman -Sy' instead of simply 'pacman -S'-ing packages? Kenny_Strawn Arch 15 03-23-2011 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:45 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