Saturday, May 4, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 634  / 3 Years ago, tue, august 24, 2021, 1:47:10

I've setup an Ubuntu server using Virtualbox and Vagrant using these instructions: https://github.com/discourse/discourse/blob/master/docs/VAGRANT.md



I played around with the OS using the command line for a while and since I'm new to all things linux I decided to install the Ubuntu desktop using these commands:



sudo apt-get update  
sudo apt-get install ubuntu-desktop --no-install-recommends


Before installing the desktop everything worked like it should from a command line. After installing the desktop gui it looks like things are missing or unable to be found. For example going to a command line and typing in "bundle install" results in the error The program 'bundle' is currently not installed. You can install it by typing ...



Does installing a desktop gui on a ubuntu server screw around with existing installed files or did the "environment variables" get jacked with?



What files should I check to fix this?


More From » installation

 Answers
5

When you did a sudo apt-get install ubuntu-desktop it would have listed the actions to be performed in terms of installing new packages, upgrading existing packages and removal of conflicting packages if applicable. Did you see anything in that to suspect removal?



Normally, installing 'ubuntu-desktop' metapackage shouldn't in any way affect something like 'bundle'. I don't know how the VM provided by discourse is setup. If it is using some thing like RVM (https://rvm.io) you might have to activate the settings of RVM into your shell before you can use the stuff installed within RVM.


[#31856] Wednesday, August 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
attagjump

Total Points: 272
Total Questions: 127
Total Answers: 124

Location: Taiwan
Member since Fri, Sep 17, 2021
3 Years ago
;