1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-05-06 17:34:12 +00:00

Replace apt-get by apt

This commit is contained in:
Carles Fernandez 2025-03-15 09:41:05 +01:00
parent b60368038a
commit b0b41b194f
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
10 changed files with 33 additions and 33 deletions

View File

@ -58,8 +58,8 @@ jobs:
CXX: ${{ matrix.compiler.cxx }}
shell: /bin/sh
install: |
apt-get update -q -y
apt-get install -q -y ${{ matrix.compiler.name }} git ninja-build cmake \
apt update
apt install -y ${{ matrix.compiler.name }} git ninja-build cmake \
libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev \
libboost-thread-dev libboost-chrono-dev libboost-serialization-dev \
liblog4cpp5-dev gnuradio-dev gr-osmosdr libpugixml-dev libpcap-dev libblas-dev \

View File

@ -18,9 +18,9 @@ jobs:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sudo apt-get update -y
sudo apt update
sudo apt install -y libunwind-dev
sudo apt-get install -y --no-install-recommends ninja-build cmake \
sudo apt install -y --no-install-recommends ninja-build cmake \
libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev \
libboost-thread-dev libboost-chrono-dev libboost-serialization-dev \
liblog4cpp5-dev gnuradio-dev gr-osmosdr libpugixml-dev libpcap-dev libblas-dev \
@ -170,7 +170,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt-get install python3-pip && sudo pip3 install cpplint
run: sudo apt install python3-pip && sudo pip3 install cpplint
- name: run checks
run: "find ./src/ ./utils ./tests -iname *.h -o -iname *.cc | xargs cpplint
--filter=-,+build/class,+build/deprecated,+build/explicit_make_pair,\

View File

@ -62,8 +62,8 @@ jobs:
CXX: ${{ matrix.compiler.cxx }}
shell: /bin/sh
install: |
apt-get update -q -y
apt-get install -q -y git cmake python3-mako liborc-dev ${{ matrix.compiler.name }}
apt update
apt install -y git cmake python3-mako liborc-dev ${{ matrix.compiler.name }}
run: |
git config --global --add safe.directory /volk_gnsssdr
cd /volk_gnsssdr
@ -85,8 +85,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install packages
run: |
sudo apt-get update -q -y
sudo apt-get install -y python3-mako cmake qemu-user-static g++-14-riscv64-linux-gnu clang-18
sudo apt update
sudo apt install -y python3-mako cmake qemu-user-static g++-14-riscv64-linux-gnu clang-18
- name: Test RVV with gcc-14 VLEN=128
run: |
mkdir -p gcc14_VLEN_128; cd gcc14_VLEN_128

View File

@ -1155,7 +1155,7 @@ if(NOT VOLKGNSSSDR_FOUND)
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(STATUS " sudo zypper install ${PYTHON_NAME}-Mako")
else()
message(STATUS " sudo apt-get install ${PYTHON_NAME}-mako")
message(STATUS " sudo apt install ${PYTHON_NAME}-mako")
endif()
endif()
message(FATAL_ERROR "Mako templates required to build VOLK_GNSSSDR")
@ -1172,7 +1172,7 @@ if(NOT VOLKGNSSSDR_FOUND)
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(STATUS " sudo zypper install ${PYTHON_NAME}-six")
else()
message(STATUS " sudo apt-get install ${PYTHON_NAME}-six")
message(STATUS " sudo apt install ${PYTHON_NAME}-six")
endif()
endif()
message(FATAL_ERROR "six - python 2 and 3 compatibility library required to build VOLK_GNSSSDR")
@ -1799,7 +1799,7 @@ if(NOT absl_FOUND)
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(" sudo zypper install automake")
else()
message(" sudo apt-get install automake")
message(" sudo apt install automake")
endif()
message(FATAL_ERROR "aclocal is required to build glog from source")
endif()
@ -1811,7 +1811,7 @@ if(NOT absl_FOUND)
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(" sudo zypper install libtoool")
else()
message(" sudo apt-get install libtool")
message(" sudo apt install libtool")
endif()
message(FATAL_ERROR "libtool is required to build glog from source")
endif()
@ -2014,7 +2014,7 @@ if(NOT BLAS_FOUND)
if(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat")
message(" sudo yum install blas-devel")
else()
message(" sudo apt-get install libblas-dev")
message(" sudo apt install libblas-dev")
endif()
endif()
message(FATAL_ERROR "BLAS is required to build gnss-sdr")
@ -2051,7 +2051,7 @@ if(NOT LAPACK_FOUND)
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(" sudo zypper install lapack-devel")
else()
message(" sudo apt-get install liblapack-dev")
message(" sudo apt install liblapack-dev")
endif()
endif()
message(FATAL_ERROR "LAPACK is required to build gnss-sdr")
@ -2130,7 +2130,7 @@ if(NOT ARMADILLO_FOUND OR ENABLE_OWN_ARMADILLO)
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(STATUS " sudo zypper install gcc-fortran")
else()
message(STATUS " sudo apt-get install gfortran")
message(STATUS " sudo apt install gfortran")
endif()
message(FATAL_ERROR "gfortran is required to build gnss-sdr")
endif()
@ -2334,7 +2334,7 @@ if(NOT MATIO_FOUND OR MATIO_VERSION_STRING VERSION_LESS ${GNSSSDR_MATIO_MIN_VERS
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(STATUS " sudo zypper install hdf5-devel")
else()
message(STATUS " sudo apt-get install libhdf5-dev")
message(STATUS " sudo apt install libhdf5-dev")
endif()
endif()
message(FATAL_ERROR "*** The hdf5 library is required to build Matio from source.")
@ -2351,7 +2351,7 @@ if(NOT MATIO_FOUND OR MATIO_VERSION_STRING VERSION_LESS ${GNSSSDR_MATIO_MIN_VERS
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(" sudo zypper install libtoool")
else()
message(" sudo apt-get install libtool")
message(" sudo apt install libtool")
endif()
message(FATAL_ERROR "libtool is required to build matio from source.")
endif()
@ -2371,7 +2371,7 @@ if(NOT MATIO_FOUND OR MATIO_VERSION_STRING VERSION_LESS ${GNSSSDR_MATIO_MIN_VERS
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(" sudo zypper install automake")
else()
message(" sudo apt-get install automake")
message(" sudo apt install automake")
endif()
message(FATAL_ERROR "aclocal is required to build matio from source.")
endif()
@ -2762,7 +2762,7 @@ if((NOT Protobuf_FOUND) OR (NOT Protobuf_PROTOC_EXECUTABLE) OR (${Protobuf_VERSI
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(" sudo zypper install libtoool")
else()
message(" sudo apt-get install libtool")
message(" sudo apt install libtool")
endif()
message(FATAL_ERROR "libtool is required to build Protocol Buffers from source")
endif()
@ -2782,7 +2782,7 @@ if((NOT Protobuf_FOUND) OR (NOT Protobuf_PROTOC_EXECUTABLE) OR (${Protobuf_VERSI
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(" sudo zypper install automake")
else()
message(" sudo apt-get install automake")
message(" sudo apt install automake")
endif()
message(FATAL_ERROR "aclocal is required to build Protocol Buffers from source")
endif()
@ -3044,7 +3044,7 @@ else()
if(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat")
message(STATUS " or simply by doing 'sudo yum install doxygen-latex'.")
else()
message(STATUS " or simply by doing 'sudo apt-get install doxygen-latex'.")
message(STATUS " or simply by doing 'sudo apt install doxygen-latex'.")
endif()
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")

View File

@ -165,7 +165,7 @@ If you are using Debian 9, Ubuntu 14.10 or above, this can be done by copying
and pasting the following line in a terminal:
```
$ sudo apt-get install build-essential cmake git pkg-config libboost-dev libboost-date-time-dev \
$ sudo apt install build-essential cmake git pkg-config libboost-dev libboost-date-time-dev \
libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev \
libboost-serialization-dev liblog4cpp5-dev libuhd-dev gnuradio-dev gr-osmosdr \
libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev \
@ -315,7 +315,7 @@ tutorial.
First of all, install some basic packages:
```
$ sudo apt-get install git python3-pip
$ sudo apt install git python3-pip
```
Download, build and install PyBOMBS:
@ -384,7 +384,7 @@ or manually as explained below, and then please follow instructions on how to
#### Install [Armadillo](https://arma.sourceforge.net/ "Armadillo's Homepage"), a C++ linear algebra library
```
$ sudo apt-get install libblas-dev liblapack-dev # For Debian/Ubuntu/LinuxMint
$ sudo apt install libblas-dev liblapack-dev # For Debian/Ubuntu/LinuxMint
$ sudo yum install lapack-devel blas-devel # For Fedora/RHEL
$ sudo zypper install lapack-devel blas-devel # For OpenSUSE
$ sudo pacman -S blas lapack # For Arch Linux
@ -439,7 +439,7 @@ v20240116 is available in your system.
#### Install the OpenSSL libraries
```
$ sudo apt-get install libssl-dev # For Debian/Ubuntu/LinuxMint
$ sudo apt install libssl-dev # For Debian/Ubuntu/LinuxMint
$ sudo yum install openssl-devel # For Fedora/CentOS/RHEL
$ sudo zypper install openssl-devel # For OpenSUSE
$ sudo pacman -S openssl # For Arch Linux
@ -604,7 +604,7 @@ directory at your preferred location and store your own configuration and data
files there.
You could be interested in creating the documentation (requires:
`sudo apt-get install doxygen-latex` in Ubuntu/Debian) by doing:
`sudo apt install doxygen-latex` in Ubuntu/Debian) by doing:
```
$ cmake --build build --target doc
@ -683,7 +683,7 @@ libraries and [gr-iio](https://github.com/analogdevicesinc/gr-iio.git) (>v0.3)
gnuradio block:
```
$ sudo apt-get install libxml2-dev bison flex
$ sudo apt install libxml2-dev bison flex
$ git clone https://github.com/analogdevicesinc/libiio.git
$ cd libiio
$ mkdir build

View File

@ -76,7 +76,7 @@ else()
if(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat")
message(" sudo yum install openssl-devel")
else()
message(" sudo apt-get install libgnutls28-dev")
message(" sudo apt install libgnutls28-dev")
endif()
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")

View File

@ -165,7 +165,7 @@ $ make pdfmanual
will create a PDF manual at <tt>gnss-sdr/docs/GNSS-SDR_manual.pdf</tt>. Please note that the PDF generation requires some fonts to be installed on the host system.
In Ubuntu, those fonts do not come by default. You can install them by doing:
\verbatim
$ sudo apt-get install texlive-fonts-recommended
$ sudo apt install texlive-fonts-recommended
\endverbatim
and then run <tt> cmake ../</tt> and <tt>make pdfmanual</tt> again.

View File

@ -67,7 +67,7 @@ and will make use of it if already installed, thus avoiding to install it twice.
First, make sure that the required dependencies are installed in your machine:
```
$ sudo apt-get install build-essential python3-mako cmake git ca-certificates \
$ sudo apt install build-essential python3-mako cmake git ca-certificates \
libboost-dev libboost-filesystem-dev libboost-system-dev
```

View File

@ -154,7 +154,7 @@ else()
elseif(${LINUX_DISTRIBUTION} MATCHES "openSUSE")
message(STATUS " sudo zypper install libboost_iostreams-devel")
else()
message(STATUS " sudo apt-get install libboost-iostreams-dev")
message(STATUS " sudo apt install libboost-iostreams-dev")
endif()
endif()
endif()

View File

@ -32,7 +32,7 @@ The building requires two extra dependencies: the Boost Iostreams library and
the program `uncompress`:
- The Boost Iostreams library can be installed through a package:
- In Debian / Ubuntu: `sudo apt-get install libboost-iostreams-dev`
- In Debian / Ubuntu: `sudo apt install libboost-iostreams-dev`
- In Fedora / CentOS: `sudo yum install boost-iostreams`
- In OpenSUSE: `sudo zypper install libboost_iostreams-devel`
- In Arch Linux: included in `boost-libs` package.