question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

List Linux dependencies for Arch-based distros

See original GitHub issue

I noticed that you explicitly give the dependencies for Ubuntu (and I guess all Debian-based distros) and CentOS (and I guess all RedHat-based distros), but found that you’re missing the Arch-based ones (Manjaro etc.).

The corresponding markdown for source/_partial/linux_dependencies.md would be:

#### Arch/Manjaro
```shell
sudo pacman -s gtk2 gtk3 libnotify gconf nss xscreensaver alsa-lib libxtst xorg-xauth xorg-server-xvfb
```

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bahmutovcommented, Sep 28, 2020

Look what we do to test Docker image in https://github.com/cypress-io/cypress-docker-images/blob/master/circle.yml#L76

ENV CI=1
RUN npm init --yes
RUN npm install --save-dev cypress
RUN ./node_modules/.bin/cypress verify
RUN npx @bahmutov/cly init
RUN ./node_modules/.bin/cypress run

This creates new project, adds Cypress, scaffolds a spec file (using @bahmutov/cly init) and runs Cypress to verify the spec works

1reaction
bahmutovcommented, Sep 26, 2020

Sure - you can look at the base images in https://github.com/cypress-io/cypress-docker-images that install all OS dependencies necessary to then install and run Cypress. Here is one from https://github.com/cypress-io/cypress-docker-images/tree/master/base/12.18.3 for example

FROM node:12.18.3-buster

RUN apt-get update && \
  apt-get install --no-install-recommends -y \
  libgtk2.0-0 \
  libgtk-3-0 \
  libnotify-dev \
  libgconf-2-4 \
  libgbm-dev \
  libnss3 \
  libxss1 \
  libasound2 \
  libxtst6 \
  xauth \
  xvfb \
  # install Chinese fonts
  # this list was copied from https://github.com/jim3ma/docker-leanote
  fonts-arphic-bkai00mp \
  fonts-arphic-bsmi00lp \
  fonts-arphic-gbsn00lp \
  fonts-arphic-gkai00mp \
  fonts-arphic-ukai \
  fonts-arphic-uming \
  ttf-wqy-zenhei \
  ttf-wqy-microhei \
  xfonts-wqy \
  # clean up
  && rm -rf /var/lib/apt/lists/*

RUN npm install -g npm@latest
RUN npm --version

RUN npm install -g yarn@latest --force
RUN yarn --version

# a few environment variables to make NPM installs easier
# good colors for most applications
ENV TERM xterm
# avoid million NPM install messages
ENV npm_config_loglevel warn
# allow installing when the main user is root
ENV npm_config_unsafe_perm true

# Node libraries
RUN node -p process.versions

# versions of local tools
RUN echo  " node version:    $(node -v) \n" \
  "npm version:     $(npm -v) \n" \
  "yarn version:    $(yarn -v) \n" \
  "debian version:  $(cat /etc/debian_version) \n" \
  "user:            $(whoami) \n"
Read more comments on GitHub >

github_iconTop Results From Across the Web

List Linux dependencies for Arch-based distros · Issue #378
I noticed that you explicitly give the dependencies for Ubuntu (and I guess all Debian-based distros) and CentOS (and I guess all RedHat-based...
Read more >
Arch-based distributions - ArchWiki
This page lists OS distributions which are derived from Arch Linux either in whole or in part, to help enforce the Arch Linux...
Read more >
The 8 Best Arch-Based Linux Distributions
Check out these eight Arch-based user-friendly Linux distributions. ... Here are a few top choices of Linux distros for Arch lovers who want ......
Read more >
Install a package with all optional dependencies in Arch ...
Now, let's install all optional dependencies. We're going to use the pacman -Si command which will list information about the package (including ...
Read more >
Top Arch-based User Friendly Linux Distributions That are ...
Arch -based Linux distributions that are easier to set up and use · 1. Manjaro Linux · 2. ArcoLinux · 3. Archlabs Linux...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found