Rails Installfest에 문제가 있습니다. 문제를 해결하려면 무엇을 입력해야 합니까? libreadline6-dev(문제)

Rails Installfest에 문제가 있습니다. 문제를 해결하려면 무엇을 입력해야 합니까? libreadline6-dev(문제)

Installfest의 첫 번째 단계를 사용할 때 이 오류가 계속 발생합니다.

라인은 다음과 같습니다

sudo apt-get install autoconf automake bison build-essential curl git-core libapr1 libaprutil1 libc6-dev libltdl-dev libreadline6 libreadline6-dev libsqlite3-0 libsqlite3-dev libssl-dev libtool libxml2-dev libxslt-dev libxslt1-dev libyaml-dev ncurses-dev nodejs openssl sqlite3 zlib1g zlib1g-dev

나는 다음을 받는다:

Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘git’ instead of ‘git-core’
Note, selecting ‘libreadline-dev’ instead of ‘libreadline6-dev’
Note, selecting ‘libxslt1-dev’ instead of ‘libxslt-dev’
Note, selecting ‘libncurses5-dev’ instead of ‘ncurses-dev’
Package libreadline6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘libreadline6’ has no installation candidate

그 메시지 후에 나는 다음과 같이 입력했습니다.

dpkg --list|grep libreadline    (at the suggestion of someone online)

나는 돌아왔다:

ii libreadline7:amd64 7.0-3 amd64 GNU readline and history libraries, run-time libraries


사이트 링크는 아래에 있으며, 1단계의 코드에서 문제가 발생합니다. 도움이 된다면 위의 코드 몇 줄에 있는 "libreadline7"이 실제로 빨간색으로 강조 표시되어 있습니다. 고마워요 여러분!

http://installfest.railsbridge.org/installfest/linux

답변1

libreadline명령 에서 버전을 제거 apt-get하고 범용 버전을 사용하는 것이 좋습니다 libreadline-dev.

따라서 완전한 명령은 다음과 같습니다.

sudo apt-get install autoconf automake bison build-essential curl git-core \
libapr1 libaprutil1 libc6-dev libltdl-dev libreadline-dev libsqlite3-0 \ 
libsqlite3-dev libssl-dev libtool libxml2-dev libxslt-dev libxslt1-dev \
libyaml-dev ncurses-dev nodejs openssl sqlite3 zlib1g zlib1g-dev

그런 다음 팔로우인스톨페스트 가이드.

하지만 Ruby를 사용하는 것이 좋습니다 2.4.4.4단계(그대로두드러진안정적인공식 사이트에서).

관련 정보