-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bubblewrap on Ubuntu 16.04 #3424
Comments
It seems that it will be available in xenial backports. Meanwhile, there is an available PPA (cf. main issue). |
I don't have root access, so I ended up taking the actual bubblewrap binary from the artful deb that seems to work fine |
I have to say, it's really difficult to start OCaml project. |
I notice this PPA is out of date, it still cant work |
@duxinxiao We are sorry that you had trouble installing this toolstack. The documentation is available on the appropriate websites, though:
If you only want to upgrade your system ocaml version, you can build another compiler version from source.
Bubblewrap unvalaibality on some distribution is a known problem. Did you tried @mseri proposal?
You can also find in this tutorial, how to build a betanet node, and specifically, the opam setup for some tezos code. |
@rjbou Thanks for your patiently reply, I just read it and know the hole things. My OCaml environment is on the way, glad to enter into new world. Thanks again! |
The bwrap version from the PPA (version 0.1.2) lacks the
That plus the choice of requiring bwrap by default (rather than use it if it is there) make OPAM 2.0 largely unusable on Ubutu 16.04. |
|
Sorry for the trouble. The documentation is not very explicit on the subject, but Your next step was the right one, however, and removing all three As for making use of |
Hello, I have just succeed in installing caml.4.07+coq.8.8.2 thanks to opam 2.0 on my Ubuntu 16.04.5 LTS (Xenial Xerus). In order to install bubblewrap, I have simply followed @mseri's hint. More precisely, I have
Then, everything worked well with opam 2.0 |
I am trying to run opam 2 on an Ubuntu 16.04 docker (prepared by someone else), and after following @boulme's instructions, it fails, maybe because the docker VM was setup with the root user by default. Anyway, here's the error I got:
Since it's just a VM and root is already the default user, I just did |
You need to do |
After installing bwrap 0.3.1 from source, |
I'm new to sudo apt-get install automake autotools-dev libcap-dev
git clone https://github.com/projectatomic/bubblewrap.git
cd bubblewrap/
git checkout v0.3.1
env NOCONFIGURE=1 ./autogen.sh
mkdir build
cd build
../configure --prefix=$HOME
make
install -c bwrap $HOME/bin The build is very fast, resulting in the I already have export PATH=$HOME/bin:"$PATH" Then, you are all set to use |
Install `bwrap`. ocaml/opam#3424 (comment) Install to $HOME/bin (writing directory instead of variable) when prompted: sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) Run opam's init (say 'y' to init hooks) and user-setup: opam init opam user-setup install
I was able to get
This worked for me with |
…bwrap can't create namespace in docker see ocaml/opam#3498 and ocaml/opam#3424
You also need to have installed |
** |
@AnonimousX1 This is a bubblewrap issue, please refer to their bug report tracker, unless @loscil06 or @dwayne have a hint? |
maybe should download bubblewrap_0.2.1-1ubuntu0.1_amd64.deb which can be installed without errors for amd64 system |
bubblewrap
is not available in Ubuntu 16.04's package repository. What is the right approach to fixing/addressing this for users?The text was updated successfully, but these errors were encountered: