*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i just installed FreeBSD. I wanted to install Xfce so I needed to install the package manager. I typed "pkg" and was asked to install the package manager since I didn't have it. I typed "y" install it, I was instead presented with this error: https://www.dropbox.com/s/88l6en4dz2...G0152.jpg?dl=0
Can't see your image, it may require javascript. Anyhow, package management is functionality provided by base system, I am wondering what package manager you are talking about. Or just dive into ports tree and do make install clean.
Can't see your image, it may require javascript. Anyhow, package management is functionality provided by base system, I am wondering what package manager you are talking about. Or just dive into ports tree and do make install clean.
Why can't you use pkg? What happens when you try to use it?
It works fine for me, though there was a bit of a learning curve.
Well if I type "pkg", it will ask to install the package management tool since I don't have to it yet. I type "y" fetch and install the package management tool but I get an error saying that there was an error fetching it and a pre-built version could not be found on my system.
I've already tried to ping 8.8.8.8 and it seems to be connected to the internet... probably.
Have you looked at the link Emerson provided? It gives instructions how to use pkg or ports to install packages (I prefer pkg).
I'm not sure that FreeBSD has a GUI package manager. I've experimented with FreeBSD quite a bit and not encountered such a thing. The closest thing I could find about such a thing in a websearch was this.
Have you looked at the link Emerson provided? It gives instructions how to use pkg or ports to install packages (I prefer pkg).
I'm not sure that FreeBSD has a GUI package manager. I've experimented with it quite a bit and not encountered such a thing. The closest thing I could find about such a thing in a websearch was this.
Yes, I've looked through the handbook, but I can't use bootstrap commands.
From your photo of the console output, it doesn't seem like pkg was run as root. If you're using the default Bourne shell and have not modified the prompt, then a $ denotes a normal user account.
Some of the output is off the screen, so hard to tell without seeing the whole error.
From your photo of the console output, it doesn't seem like pkg was run as root. If you're using the default Bourne shell and have not modified the prompt, then a $ denotes a normal user account.
Some of the output is off the screen, so hard to tell without seeing the whole error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.