how to install an UBUNTU package in DEBIAN, is it possible?.

baezacaljo

New Member
Credits
170
Good afternon dear all

iam quite new to linux but i have to admit it. IS AWSOME. i installed DEBIAN and as far as ia can see is really stable. the main reason to get involved in linux is beacause i am studying some engineering topics like CFD (computational fluid dynamics). There i dot know is my question is quite well addressed.

i am installing a package that is for UBUNTU, but as i told you i am in DEBIAN. So i tried to follow this instructions "https://openfoam.org/download/8-ubuntu/". and after adding the code

Code:
sudo apt-get update
this appears

Code:
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease     
Hit:3 http://deb.debian.org/debian buster-updates InRelease                   
Hit:4 https://download.sublimetext.com apt/stable/ InRelease                   
Ign:5 http://dl.openfoam.org/ubuntu buster InRelease                           
Err:6 http://dl.openfoam.org/ubuntu buster Release
  404  Not Found [IP: 35.179.33.128 80]
Reading package lists... Done
E: The repository 'http://dl.openfoam.org/ubuntu buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
even that i tried to enter the code

Code:
sudo apt-get -y install openfoam8
and the outcome is

UNABLE TO ALLOCATE THE PACKAGE, is like cannot be installed.

Look, probably my question is not related with you guys, and might be with the guys who created the software. But as i told you i am quite new to LINUX, and i felt in love with DEBIAN and i wouldn't like to uninstall it and change it for UBUNTU.

Thanks in advance
 


f33dm3bits

Gold Member
Gold Supporter
Credits
12,774
You can't install Ubuntu specific packages on Debian, according to documentation there are only Ubuntu packages available. So you can either run it using docker or you can compile it from source.
 

baezacaljo

New Member
Credits
170
You can't install Ubuntu specific packages on Debian, according to documentation there are only Ubuntu packages available. So you can either run it using docker or you can compile it from source.
Thank you very much for your reply.

Yes i got it, therefore what i did was to switch to Ubuntu, but now i am thinking in having dual boot (Ubuntu just for the open foam package and DEBIAN as my daily operative system).

and Ttaking advantage of your help, so knowing that you are an expert in linux. i would like to know if there is any specific book or website or even articles on which i can study more linux, i know the question is to open, but since i have not idea about the linux system i would like to know more about it. more coding and that kind of stuff.

thank you very much for your help.
 

Tolkem

Well-Known Member
Credits
2,984
i am installing a package that is for UBUNTU, but as i told you i am in DEBIAN. So i tried to follow this instructions "https://openfoam.org/download/8-ubuntu/". and after adding the code
As stated here https://openfoam.org/download/8-linux/ this pkg is available in Debian:
Code:
$ tolkem  ~  apt-cache policy openfoam
openfoam:
  Installed: (none)
  Candidate: 1812 + dfsg1-2
  Version table:
     1812 + dfsg1-2 500
        500 http://ftp.debian.org/debian buster / main amd64 Packages
$ tolkem  ~  sudo apt-get install openfoam
Reading package list ... Done
Creating dependency tree
Reading the status information ... Done
The following additional packages will be installed:
  autoconf automake autotools-dev binutils binutils-x86-64-linux-gnu gcc gcc-8 gfortran gfortran-8 libasan5 libc-dev-bin libc6-dev libcaf-openmpi-3 libcc1-0 libcoarrays-dev
  libcoarrays-openmpi-dev libevent-core-2.1-6 libevent-pthreads-2.1-6 libfabric1 libgcc-8-dev libgfortran-8-dev libhwloc-dev libhwloc-plugins libhwloc5 libibverbs-dev libitm1 liblsan0
  libltdl-dev libmpx2 libnl-3-dev libnl-route-3-dev libnuma-dev libopenfoam libopenmpi-dev libopenmpi3 libpmix2 libpsm-infinipath1 libpsm2-2 libsigsegv2 libtool libtsan0 libubsan1
  linux-libc-dev m4 manpages manpages-dev mpi-default-bin ocl-icd-libopencl1 openfoam-examples openmpi-bin openmpi-common
Suggested Packages:
  autoconf-archive gnu-standards autoconf-doc gettext binutils-doc gcc-multilib make flex bison gcc-doc gcc-8-multilib gcc-8-doc gcc-8-locales libgcc1-dbg libgomp1-dbg libitm1-dbg
  libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg gfortran-multilib gfortran-doc gfortran-8-multilib gfortran-8-doc libgfortran5-dbg
  glibc-doc libhwloc-contrib-plugins libtool-doc openmpi-doc gcj-jdk m4-doc opencl-icd
The following NEW packages will be installed:
  autoconf automake autotools-dev binutils binutils-x86-64-linux-gnu gcc gcc-8 gfortran gfortran-8 libasan5 libc-dev-bin libc6-dev libcaf-openmpi-3 libcc1-0 libcoarrays-dev
  libcoarrays-openmpi-dev libevent-core-2.1-6 libevent-pthreads-2.1-6 libfabric1 libgcc-8-dev libgfortran-8-dev libhwloc-dev libhwloc-plugins libhwloc5 libibverbs-dev libitm1 liblsan0
  libltdl-dev libmpx2 libnl-3-dev libnl-route-3-dev libnuma-dev libopenfoam libopenmpi-dev libopenmpi3 libpmix2 libpsm-infinipath1 libpsm2-2 libsigsegv2 libtool libtsan0 libubsan1
  linux-libc-dev m4 manpages manpages-dev mpi-default-bin ocl-icd-libopencl1 openfoam openfoam-examples openmpi-bin openmpi-common
0 updated, 52 new ones will be installed, 0 to remove and 0 not updated.
128MB files need to be downloaded.
571 MB of additional disk space will be used after this operation.
do you wish to continue? [Y / n] n
$ tolkem  ~ 
So you didn't need to switch to Ubuntu nor add the PPA to Debian.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
12,774
As stated here https://openfoam.org/download/8-linux/ this pkg is available in Debian:
Code:
$ tolkem  ~  apt-cache policy openfoam
openfoam:
  Installed: (none)
  Candidate: 1812 + dfsg1-2
  Version table:
     1812 + dfsg1-2 500
        500 http://ftp.debian.org/debian buster / main amd64 Packages
So you didn't need to switch to Ubuntu nor add the PPA to Debian.
That's really bad documentation then because how that documentation explained it was that if you are wanting to install it on anything other than Ubuntu you have to run it using docker. I never even bother to check the default debian repositories and pkgs.org, how could I forget :eek:.
 

baezacaljo

New Member
Credits
170
As stated here https://openfoam.org/download/8-linux/ this pkg is available in Debian:
Code:
$ tolkem  ~  apt-cache policy openfoam
openfoam:
  Installed: (none)
  Candidate: 1812 + dfsg1-2
  Version table:
     1812 + dfsg1-2 500
        500 http://ftp.debian.org/debian buster / main amd64 Packages
$ tolkem  ~  sudo apt-get install openfoam
Reading package list ... Done
Creating dependency tree
Reading the status information ... Done
The following additional packages will be installed:
  autoconf automake autotools-dev binutils binutils-x86-64-linux-gnu gcc gcc-8 gfortran gfortran-8 libasan5 libc-dev-bin libc6-dev libcaf-openmpi-3 libcc1-0 libcoarrays-dev
  libcoarrays-openmpi-dev libevent-core-2.1-6 libevent-pthreads-2.1-6 libfabric1 libgcc-8-dev libgfortran-8-dev libhwloc-dev libhwloc-plugins libhwloc5 libibverbs-dev libitm1 liblsan0
  libltdl-dev libmpx2 libnl-3-dev libnl-route-3-dev libnuma-dev libopenfoam libopenmpi-dev libopenmpi3 libpmix2 libpsm-infinipath1 libpsm2-2 libsigsegv2 libtool libtsan0 libubsan1
  linux-libc-dev m4 manpages manpages-dev mpi-default-bin ocl-icd-libopencl1 openfoam-examples openmpi-bin openmpi-common
Suggested Packages:
  autoconf-archive gnu-standards autoconf-doc gettext binutils-doc gcc-multilib make flex bison gcc-doc gcc-8-multilib gcc-8-doc gcc-8-locales libgcc1-dbg libgomp1-dbg libitm1-dbg
  libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg gfortran-multilib gfortran-doc gfortran-8-multilib gfortran-8-doc libgfortran5-dbg
  glibc-doc libhwloc-contrib-plugins libtool-doc openmpi-doc gcj-jdk m4-doc opencl-icd
The following NEW packages will be installed:
  autoconf automake autotools-dev binutils binutils-x86-64-linux-gnu gcc gcc-8 gfortran gfortran-8 libasan5 libc-dev-bin libc6-dev libcaf-openmpi-3 libcc1-0 libcoarrays-dev
  libcoarrays-openmpi-dev libevent-core-2.1-6 libevent-pthreads-2.1-6 libfabric1 libgcc-8-dev libgfortran-8-dev libhwloc-dev libhwloc-plugins libhwloc5 libibverbs-dev libitm1 liblsan0
  libltdl-dev libmpx2 libnl-3-dev libnl-route-3-dev libnuma-dev libopenfoam libopenmpi-dev libopenmpi3 libpmix2 libpsm-infinipath1 libpsm2-2 libsigsegv2 libtool libtsan0 libubsan1
  linux-libc-dev m4 manpages manpages-dev mpi-default-bin ocl-icd-libopencl1 openfoam openfoam-examples openmpi-bin openmpi-common
0 updated, 52 new ones will be installed, 0 to remove and 0 not updated.
128MB files need to be downloaded.
571 MB of additional disk space will be used after this operation.
do you wish to continue? [Y / n] n
$ tolkem  ~ 
So you didn't need to switch to Ubuntu nor add the PPA to Debian.
Thank you very much.

I'll work on that
 

baezacaljo

New Member
Credits
170
That's really bad documentation then because how that documentation explained it was that if you are wanting to install it on anything other than Ubuntu you have to run it using docker. I never even bother to check the default debian repositories and pkgs.org, how could I forget :eek:.
But I have a question on that. Let's say I want a package that is only available on Ubuntu, therefore I am working on Debian. So how come that such package is on the default repositories?. Someone "put it" in there?. Or someone made it on Debian?. I am not getting it.

Sorry for this kind of questions as you already know I am newbie. My area is something different.

Thank you very much
 

f33dm3bits

Gold Member
Gold Supporter
Credits
12,774
But I have a question on that. Let's say I want a package that is only available on Ubuntu, therefore I am working on Debian. So how come that such package is on the default repositories?. Someone "put it" in there?. Or someone made it on Debian?. I am not getting it.

Sorry for this kind of questions as you already know I am newbie. My area is something different.

Thank you very much
Since it's in the main debian repo it was packaged.
 

Lord Boltar

Active Member
Credits
2,124
The main area contains free software that complies with Debian Free Software Guidelines (DFSG). The contrib area contains free software that complies with DFSG, but relies on non-free software for compilation or execution. Finally, the non-free area contains non-free packages that are not compliant with DFSG but redistributable. The main repository is considered a part of Debian, but neither contrib or non-free repository is. The latter two are maintained and provided only as a convenience to users and are not default in Debian you have to add those repositories manually into your sources list

deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free

deb http://deb.debian.org/debian buster-backports main contrib non-free
deb-src http://deb.debian.org/debian buster-backports main contrib non-free

While Ubuntu is based on Debian - Canonical changes the way the kernel loads firmware -the Debian kernel doesn't include any non-free firmware you have to add it manually - Ubuntu does
 

Members online


Latest posts

Top